fix: minimumJoomla set to 5.0 — should be 5.2 or 6.0 #189
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
mokosuitebackup.xmldeclaresminimumJoomla="5.0"but the codebase uses Joomla 5.2+ APIs (e.g.,SubscriberInterface, named arguments in event constructors). Installing on Joomla 5.0/5.1 would produce fatal errors.Location
source/packages/com_mokosuitebackup/mokosuitebackup.xmlFix
Set
minimumJoomlato5.2(or6.0if dropping Joomla 5 support).Branch created:
feature/189-fix-minimumjoomla-set-to-5-0-should-be-5Premise is inaccurate as written @ 02.56.05 — keep open but repurpose.
The current
com_mokosuitebackup.xmldeclares nominimumJoomlaattribute at all (grep forminimumJoomlaacrosssource/packagesonly hits the unrelated MokoSuiteClient product). So there is nominimumJoomla="5.0"to correct — and no minimum-version guard at all.Suggest repurposing this issue to: "add
minimumJoomla="5.2"(or6.0) tocom_mokosuitebackup.xml" so installs on unsupported Joomla versions are blocked. If a floor isn't wanted, close instead.