User tests: Successful: Unsuccessful:
Nested::delete() dispatched two generic events, onBeforeDelete and onAfterDelete, carrying only the primary key, next to the typed onTableBeforeDelete and onTableAfterDelete events every table dispatches. The generic pair was tagged @deprecated 5.3 will be removed with 7.0 without replacement. This removes it and the now unused Joomla\Event\Event import.
Nothing in core listens to the generic names. A listener needs onTableBeforeDelete / onTableAfterDelete instead (Joomla\CMS\Event\Table\BeforeDeleteEvent / AfterDeleteEvent), which carry the table as subject and the same pk.
grep -rn "'onBeforeDelete'\|'onAfterDelete'" libraries administrator components plugins finds nothing.Deleting nested items works; the generic events fire with nothing listening.
Deleting nested items works the same; only the typed table events fire.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-10-15 14:42:22 |
| Closed_By | ⇒ | HLeithner | |
| Labels |
Added:
PR-7.0-dev
|
||