Is the line
line correct?Table::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_contact/tables');
Labels |
Added:
?
|
It's fine as it is in J3
In J4 looks incorrect https://github.com/joomla/joomla-cms/blob/4.0.0-alpha12/administrator/components/com_contact/Controller/AjaxController.php#L65 - you're right needs to use the namespaced version of the code - obviously for example the directory for table doesn't exist there etc.
it seem's Ok now.....closing
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-12-03 16:15:36 |
Closed_By | ⇒ | alikon |
Closed_By | alikon | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/27037
At least the line I linked to in 4.0-dev isn't ok. so reopening
Status | Closed | ⇒ | New |
Closed_Date | 2019-12-03 16:15:36 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-19 09:05:26 |
Closed_By | ⇒ | SharkyKZ |
Closed_By | SharkyKZ | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/27037
Please test #27984.
Similar code for menu and newsfeeds. Look like this has not yet been updated to use Table, Factory, Text, etc
These files are no more present in J4 where they are replaced by AjaxController