joomlatools / joomlatools-framework

Modern PHP extension framework (for Joomla)
https://www.joomlatools.com/developer/framework/
GNU General Public License v3.0
19 stars 11 forks source link

Joomla 4 compatability issues #389

Closed YoKoGFX closed 3 years ago

YoKoGFX commented 4 years ago

I already looked into the compatability with J4, as I try to test a extension that we modified.

From what I can see is that this:

JFactory::getApplication()->getCfg needs to be updated to this: JFactory::getConfig()->get

also the JEventDispatcher, JApplication::stringURLSafe and the 'attributes' => $user->getParameters()->toArray() is deprecated. From what I can see these are the biggest issues.

johanjanssens commented 4 years ago

@YoKoGFX Thanks. We have started prepping to provide compatibility for Joomla 4 in the framework. If you have more feedback please let us know, makes our work a little bit easier.

ercanozkaya commented 4 years ago

Hi @YoKoGFX, thanks for the report. We have started work on Joomla 4 compatibility and we are getting close to a beta release.

If you would like to test it out early, you can use the feature/389-j4 branch: https://github.com/joomlatools/joomlatools-framework/tree/feature/389-j4 or you can use the PR at #406