User tests: Successful: Unsuccessful:
Pull Request for Issue #45584 .
At some moment in the past we changed the events for the Table* classes from onAction to onTableAction. It was obviously missed to make this change for the delete method of the nested table class. This results in the situation that history entires for categories and tags are not deleted.
a) This fix is a bug fix but also kind of b/c break.
We need to document the b/c break. I would expect that It is unlikely that the event is used.
b) Further more we are not cleaning up the existing entires in the history table for not longer existing tags and categories.
Maybe something we can do in a helath checker or pre-update check, but not as part of this PR.
The database table __history entry for com_tags.tag.id is still existing
The database table __history entry for com_tags.tag.id is not existing
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
bug
b/c break
PR-5.3-dev
|
I have tested this item ✅ successfully on 401b41a
Tested with JBT, before the PR with 5.3-dev branch
Installed the PR with graft full package
administrator/logs/*
and PHP logStatus | Pending | ⇒ | Ready to Commit |
RTC
We should call the old event, too and deprecate it. Otherwise we make all plugins, which are using the wrong methods broken.
Labels |
Added:
RTC
Updates Requested
|
@bembelimen done, called old event and depreciated it as requested
Status | Ready to Commit | ⇒ | Pending |
Reset to “Pending” as there have been code changes
Labels |
Removed:
RTC
Updates Requested
|
Reset to “Pending” as there have been code changes
It is only bringing back the old event call, would be a surprise if that breaks something.
Reset to “Pending” as there have been code changes
It is only bringing back the old event call, would be a surprise if that breaks something.
Sorry, I don't have this overview. Does anyone else want to set RTC again or should I just retest?
I have tested this item ✅ successfully on c293027
After branch update, successfully tested again as outlined in #46020 (comment)
Status | Pending | ⇒ | Ready to Commit |
Status | Ready to Commit | ⇒ | Pending |
Status | Pending | ⇒ | Ready to Commit |
RTC
It says deprecated without replacement and then goes on to say use ....
Surely that is the replacement
It says deprecated without replacement and then goes on to say use ....
Surely that is the replacement
@brianteeman Not sure if it is really a replacement as they are not the same events, and the calls to the old events will be removed without replacement.
@rdeutz What do you think? Maybe just remove the , use onTable...Delete event
at the end of the deprecation comment?
It says deprecated without replacement and then goes on to say use ....
Surely that is the replacement
@brianteeman Not sure if it is really a replacement as they are not the same events, and the calls to the old events will be removed without replacement.
@rdeutz What do you think? Maybe just remove the , use onTable...Delete event
at the end of the deprecation comments?
This has to go into 5.4 as we don't do deprecations in patch releases.
Labels |
Added:
RTC
|
It is a bugfix so it is 5.3.
For the message I guess you can argue in many ways, I made what Richard suggested.
Title |
|
Labels |
Added:
PR-5.4-dev
Removed: b/c break PR-5.3-dev |
Rebased to 5.4-dev. RTC is still valid as it was a clean rebase.
✅ Final retest before merge as in #46020 (comment)
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-09-11 09:44:44 |
Closed_By | ⇒ | muhme |
Thank you @RobertDeutz for your contribution. Thank you @richard67, @laoneo, @bembelimen and @brianteeman for support. Thank you @exlemor for testing.
I have tested this item ✅ successfully on 401b41a
Hi there, I was able to test it successfully! Thanks @rdeutz
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46020.