As I was playing around with J4 I found that the content
type plugins will not be triggered on the respected events (given that the context was correct. Moving the plugins to system
type things working as expected, or kinda as the onContentBeforeSave
seems to always be skipped.
The question here: is it expected behaviour a onContent[Before/After]Save
to be of a system type instead of the logical (at least for me) content
?
Also can someone confirm that the events are triggered as expected?
Labels |
Added:
?
|
Looks like only media-action plugin group is used
I've tried that as well without any success
Seems to work for me but not sure how to display messages correctly. Aborting upload always shows generic Internal Server Error
message.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-30 15:01:16 |
Closed_By | ⇒ | dgrammatiko |
Looks like only
media-action
plugin group is used:joomla-cms/administrator/components/com_media/src/Model/ApiModel.php
Lines 529 to 532 in 8d7ad2e
If plugins should be compatible with both J3 and J4, this needs to be changed.