Advertisement

Updating a Joomla 4 module Topic is solved

For Joomla! 5.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
ppetree
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Wed Nov 13, 2013 7:43 pm
Location: Knoxville, TN
Contact:

Updating a Joomla 4 module

Post by ppetree » Sat Nov 30, 2024 10:17 pm

Looking at one of my older Joomla 4 sites I have a plugin that I wrote that Joomla says is not compatible with Joomla 5.

How do we go about determining what, exactly, the compatibility issue is?
(I'm seriously hoping for an easy answer so I can figure out exactly what I need to fix!)

Suggestions?

Advertisement
SharkyKZ
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3127
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Updating a Joomla 4 module

Post by SharkyKZ » Sat Nov 30, 2024 10:27 pm

Compatibility check is based solely on update server information, not on code analysis. For code changes from 4.4 to 5.0 see this guide https://manual.joomla.org/migrations/44 ... atibility/. Though it's incomplete.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17976
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Updating a Joomla 4 module

Post by toivo » Sun Dec 01, 2024 1:45 am

You may also find the JED Checker useful in locating deprecated functions.
Toivo Talikka, Global Moderator

ppetree
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Wed Nov 13, 2013 7:43 pm
Location: Knoxville, TN
Contact:

Re: Updating a Joomla 4 module

Post by ppetree » Wed Dec 04, 2024 6:32 pm

SharkyKZ wrote: Sat Nov 30, 2024 10:27 pm Compatibility check is based solely on update server information, not on code analysis. For code changes from 4.4 to 5.0 see this guide https://manual.joomla.org/migrations/44 ... atibility/. Though it's incomplete.
Thanks. It doesn't look like I use any of the affected API's. I'll update one of my parked sites and test the plugin with and without the compatibility plugin.

ppetree
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Wed Nov 13, 2013 7:43 pm
Location: Knoxville, TN
Contact:

Re: Updating a Joomla 4 module

Post by ppetree » Wed Dec 04, 2024 6:34 pm

toivo wrote: Sun Dec 01, 2024 1:45 am You may also find the JED Checker useful in locating deprecated functions.
Thanks for that! I've not uploaded this module to JED yet... a few things to cleanup but those things have been there for 6-8 months. All the source is on github. https://github.com/ppetree/geotracker

SharkyKZ
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3127
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Updating a Joomla 4 module

Post by SharkyKZ » Fri Dec 06, 2024 2:45 pm

You're still using Joomla's global namespace classes which requires Backwards Compatibility to work. You might want to fix that. Not related to J5 upgrade but more important is that your module is riddled with security vulnerabilities.

ppetree
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Wed Nov 13, 2013 7:43 pm
Location: Knoxville, TN
Contact:

Re: Updating a Joomla 4 module

Post by ppetree » Sun Dec 29, 2024 8:35 pm

SharkyKZ wrote: Fri Dec 06, 2024 2:45 pm You're still using Joomla's global namespace classes which requires Backwards Compatibility to work. You might want to fix that. Not related to J5 upgrade but more important is that your module is riddled with security vulnerabilities.
Thanks SharkyKZ. I'm not a Joomla developer at all, I got most of that framework from the 3.x docs.

Advertisement

Post Reply

Return to “Joomla! 5.x Coding”