My Joomla 6 is now 100% native, with no backward compatibility.
I found a Joomla 6 compatibility issue in the RO CSVI Joomla Content export.
When exporting the article_url field, the export fails with the following error:
{"error":true,"code":0,"message":"Class \"ContentHelperRoute\" not found"}
The issue is caused by an old Joomla routing class reference used in the Joomla Content export. In this file:
content/com_content/model/export/content.php
the class ContentHelperRoute is used here:
$fieldvalue = $this->sef->getSefUrl(\ContentHelperRoute::getArticleRoute($record->id, $record->catid));
This class is no longer available in Joomla 6. The current Joomla Content routing helper should be used instead. The missing import is:
use Joomla\Component\Content\Site\Helper\RouteHelper;
Then the old call should be replaced with:
$fieldvalue = $this->sef->getSefUrl(RouteHelper::getArticleRoute($record->id, $record->catid));
The same old routing reference also appears in:
content/com_content/model/maintenance.php
And this old call:
$urls[] = ContentHelperRoute::getArticleRoute($record->id, $record->catid);
should be replaced with:
$urls[] = RouteHelper::getArticleRoute($record->id, $record->catid);
kind regards,
Chris