-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Bundled FOF 2.4.3 is out of date and incompatible with PHP 7 #11673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
thanks for the update. Quick question - there have been a few reports in recent weeks of some missing strings and other stuff with f0f but because you had said it was unsupported they were not dealt with. |
|
@wilsonge I am confused now why you have been asking for people to rewrite the existing plugins to not use fof |
|
Can you please link me to the reports for missing strings? Most likely it's some extension not loading FOF's language strings or FOF's language strings are not being in Joomla translation package. Regarding the core TFA plugins, since Joomla! 4 will NOT include FOF there's a good reason to decouple them. Luckily for @wilsonge , the code I've written for the FOFEncrypt package can be easily ported into the CMS library package (e.g. JAes) without many changes. If you're interested I can do it. The code is GPL2 and I've signed the JCA a long time ago so it should all be fairly straightforward. I just don't know if it makes sense to PR against staging or a different branch. Any feedback on that welcome (even on sidechannels – let's leave this issue's conversation clean). |
|
The missing strings were listed in this issue #10798 |
|
@brianteeman These language strings are in the optional installation script class. Even if they are not translated they are the headers (Extension and Status) of the table listing installation success. Further to that, developers shouldn't really use that method to deliver multiple extensions in a single file since there are Package type packages. That's why I never bothered to change those strings. Not to mention FOF 2 is EOL.
If someone really wants to use the installation script they should use the currently supported version of FOF, 3.0. There are no untranslated strings there.
|
|
I don't care. That was the report.
|
Pull Request for Issue #11672 .
Pinging @wilsonge and @mbabker – This PR addresses PHP 7.0 and 7.1 compatibility issues. See the bold stuff under Bugfixes
Summary of Changes
Updated FOF to 2.5.5. The following improvements and bug fixes have been implemented since version 2.4.3 (what is currently included in Joomla! 3.6.2):
Improvements
Bugfixes
Testing Instructions
After applying the PR make sure that the two core features using FOF still work.
Documentation Changes Required
None.