? ? Pending

User tests: Successful: Unsuccessful:

avatar julienV
julienV
9 Sep 2017

Pull Request for Issue #17908 .

Summary of Changes

Modified PluginHelper import so that it can properly 'autocreate' editors-xtd type plugins.
The problem is that regular class name construction uses 'Plg' + Type + name, but it doesn't work here as those plugins actually use PlgButton or PlgEditorsXtd prefix. Of course, it would be best to rename the plugin type, but i guess it's not possible due to B/C.
Note that the same workaround is used in the Editor\Editor class
https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Editor/Editor.php#L472

This changes allows to use com_ajax interface with editors-xtd plugins (for example to load a layout for the modal content), which is not possible at the moment.

Testing Instructions

Use provided loadtest plugin, which loads it's modal content using com_ajax
plg_xtd_editors_loadtest.zip

Expected result

Modal content should display 'Plugin was loaded' after clicking on the button

selection_216

Actual result

It doesn't trigger the right function

Documentation Changes Required

avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2017
Category Libraries
avatar julienV julienV - open - 9 Sep 2017
avatar julienV julienV - change - 9 Sep 2017
Status New Pending
avatar julienV julienV - change - 9 Sep 2017
The description was changed
avatar julienV julienV - edited - 9 Sep 2017
avatar julienV julienV - change - 9 Sep 2017
The description was changed
avatar julienV julienV - edited - 9 Sep 2017
avatar julienV julienV - change - 9 Sep 2017
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 29 Oct 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Oct 2017

I have tested this item successfully on 52d0020

Without PR

without

With PR

with


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17907.
avatar Quy Quy - test_item - 22 Jul 2018 - Tested successfully
avatar Quy
Quy - comment - 22 Jul 2018

I have tested this item successfully on 52d0020


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

avatar Quy Quy - change - 22 Jul 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 22 Jul 2018

RTC


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

avatar mbabker mbabker - change - 24 Jul 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-24 00:17:13
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 24 Jul 2018
avatar mbabker mbabker - merge - 24 Jul 2018

Add a Comment

Login with GitHub to post a comment