Information Required ?
avatar h2974
h2974
16 May 2021

In my plugin the onContentPrepareForm event does not identify com_modules.modules.filter and
the onContentPrepareData event does trigger for context com_modules.modules any more.

avatar h2974 h2974 - open - 16 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 May 2021
avatar joomdonation
joomdonation - comment - 16 May 2021

@h2974 Could you please explain more details about the problem you are having? Recently, we appends Client ID to context to fix filter issues when Client is switched from Admin to Site and vice versa. The PR is here #33763

Maybe that change causes issue with your plugin (in case you set model states via com_modules.modules.filter key)

avatar h2974
h2974 - comment - 20 May 2021

For example: I am using

if ($context === 'com_modules.modules') in event onContentPrepareData

of my plugin that should only run in modules list. This does not work any more.

According the documentation this should work: https://docs.joomla.org/Plugin/Events/Content#onContentPrepareData

avatar joomdonation
joomdonation - comment - 20 May 2021

Could you please give us more information? What is the purpose if the plugin? If it is possible, please attach your plugin here so that we can review to see if it causes by some changes we made into Modules Management recently. Thanks

avatar richard67 richard67 - change - 21 May 2021
Status New Information Required
avatar richard67
richard67 - comment - 21 May 2021

Information required, see previous comment.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33914.

avatar richard67 richard67 - change - 21 May 2021
Labels Added: Information Required
avatar richard67 richard67 - labeled - 21 May 2021
avatar Quy Quy - change - 9 Jul 2021
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2021-07-09 16:13:17
Closed_By Quy
avatar Quy Quy - close - 9 Jul 2021
avatar Quy
Quy - comment - 9 Jul 2021

Closing due to no response with requested information.

Add a Comment

Login with GitHub to post a comment