Skip to content

[5.0] Fix user group deletion events compatibility#41916

Merged
HLeithner merged 5 commits intojoomla:5.0-devfrom
Fedik:fix-user-group-del-event
Sep 25, 2023
Merged

[5.0] Fix user group deletion events compatibility#41916
HLeithner merged 5 commits intojoomla:5.0-devfrom
Fedik:fix-user-group-del-event

Conversation

@Fedik
Copy link
Copy Markdown
Member

@Fedik Fedik commented Sep 25, 2023

Pull Request for Issue #41906 .

Summary of Changes

Fix event compatibility for UserGroupDelete events

Testing Instructions

Try delete User group

Actual result BEFORE applying this Pull Request

An error

Expected result AFTER applying this Pull Request

Group is deleted without error

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org: User group onDelete events Manual#197
  • No documentation changes for manual.joomla.org needed

@HLeithner
Copy link
Copy Markdown
Member

Please introduce new extended classes for before and after, we don't know how long we really have this event and as you did it now you just pollute the constructor used for all other events

@Fedik
Copy link
Copy Markdown
Member Author

Fedik commented Sep 25, 2023

Changed

@richard67
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 1cf9784


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41916.

@HLeithner HLeithner merged commit 6a36dbf into joomla:5.0-dev Sep 25, 2023
@HLeithner
Copy link
Copy Markdown
Member

thanks

@Fedik Fedik deleted the fix-user-group-del-event branch September 25, 2023 20:45
HLeithner added a commit to HLeithner/joomla-cms that referenced this pull request Sep 26, 2023
* Fix user group deletion events compatibility

* Fix user group deletion events compatibility

* Fix user group deletion events compatibility

* Fix user group deletion events compatibility

---------

Co-authored-by: Harald Leithner <leithner@itronic.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants