User tests: Successful: Unsuccessful:
Pull Request for Issue #45584 .
added the delete method
Tags
Content Categories
Related contenthistory entries are are still existing after deleting a tag or a content category.
Related contenthistory entries are deleted together with the tag and the content category.
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 | ⇒ | Administration com_categories |
Labels |
Added:
PR-5.3-dev
|
Category | Administration com_categories | ⇒ | Administration com_categories com_tags |
Title |
|
I have tested this item ✅ successfully on b93c809
I have tested this successfully. Nice find/fix. Thanks @alikon
Status | Pending | ⇒ | Ready to Commit |
RTC
I don't think it is a good way how this is implemented, I would prefer a more generic approach
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-29 08:21:47 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
RTC
bug
RMDQ
|
I am closing this PR, it is the wrong fix.
At some point in the past we changed the event from "onBeforeDelete" to "onTableBeforeDelete" but the nested table class wasn't change. So the "Behaviour\Versionable" Plugin don't get called when an item (nested as Tag and Category are) deleted and so the version stay.
The correct fix would be to change the called event but this needs a bit more investigating what are site effects could be.
Thanks for testing and spending time on this issue.
I have tested this item ✅ successfully on b93c809
Tested with JBT, first current behavier with 5.3-dev and checking the _history table:
Grafted Joomla_5.3.3-dev+pr.45701-Development-Full_Package.zip
Well done, thanks @alikon for fixing the issue!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45701.