fix: Joomla 6 event type compatibility (hotfix) #208
Reference in New Issue
Block a user
Delete Branch "fix/joomla6-event-hotfix"
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
Hotfix cherry-picked from #207 (already merged to dev).
onContentAfterSave()andonContentChangeState()in the content pluginModel\AfterSaveEventinstead ofContent\AfterSaveEvent, causing a fatal TypeError on article save$eventparameters accept both Joomla 5 and 6 event objectsTest plan