[Fix] Remove forgotten J6 deprecations#253
[Fix] Remove forgotten J6 deprecations#253Elfangor93 merged 8 commits intoJoomGalleryfriends:masterfrom
Conversation
|
Try to install it on Joomla6: after entering |
|
I applied the fix from here: joomla/joomla-cms#45670 and then tried to install again: The error |
|
Everything works well, except for one (hopefully the last) minor issue: The list of the 'Official JoomGallery extensions' in the Control Panel is empty. |
Yes, this is expected. The extensions are not marked as compatible with Joomla 6. In order them to be listed, they need to have the corresponding joomla 6 flag in the update server. |
Ah, right. I had overlooked that. |
It seems that the problem will not be fixed in the Joomla core. Would we then have to implement a workaround ourselves? |
|
New error when installing with actual Joomla 6 Nightly: |
|
@MrMusic The error is thrown by the One solution would be to deactivate the Plugin before installation. Another solution could be to remove the versioning completely from the JoomGallery component. Related Joomla! cms issue: |
In that case, I would be in favour of removing the versioning. |
|
I propose to merge this PR now and tackle the remaining issue in another PR. With this being merged, we can at least start testing JoomGallery with Joomla 6!. We just have to deactivate the I still would like to discuss the issue with the Joomla! maintainers before we fix something on our end. |
|
Agreed. With the deactivated versionable plugin it works fine. |
This PR fixes the issue reported in #250
There were still some J6 deprecations in the code which made JoomGallery break in Joomla 6. This PR should remove this deprecations.
How to test this PR
Install the PR on a fresh Joomla 6 installations. Everything should work as you know it from within Joomla 5. No PHP errors.