PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
9 Sep 2026
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

A stdClass has no getError function when saving a media manager item.

Testing Instructions

Will come up with a demo plugin later.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar laoneo laoneo - open - 9 Sep 2026
avatar laoneo laoneo - change - 9 Sep 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2026
Category ⇒ Administration com_media
avatar HLeithner
HLeithner - comment - 9 Sep 2026

where is the "error" property coming from?

avatar laoneo
laoneo - comment - 9 Sep 2026

From plugins, in events they can set it when they have an error message.

avatar HLeithner
HLeithner - comment - 9 Sep 2026

is this defined somewhere?

avatar HLeithner
HLeithner - comment - 9 Sep 2026

is this defined somewhere? Or already in use?

avatar laoneo
laoneo - comment - 9 Sep 2026

No, it is a replacement for the getError function. This is a plain stdClass object, see above.

avatar HLeithner
HLeithner - comment - 9 Sep 2026

ok so this is broken since a year now?

wouldn't it make sense to make the event trigger a proper event call and allow to set an error to the event object? Not sure if we already has such thing.

avatar laoneo laoneo - change - 9 Sep 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-09-09 10:05:53
Closed_By ⇒ laoneo
Labels Added: PR-6.1-dev
avatar laoneo laoneo - close - 9 Sep 2026
avatar laoneo
laoneo - comment - 9 Sep 2026

Closing as should be fixed with real event.

Add a Comment

Login with GitHub to post a comment