? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
23 Sep 2018

Summary of Changes

Since an editors is a special plugins rendering through $this->getDispatcher()->dispatch('onDisplay', $event); leads to rendering of ALL loaded editors, instead of ONE.

I guess onDisplay should be called directly, per specific editor.

Testing Instructions

in mod_custom XML, in params fieldset add fields with 2 different type of editor, eg:

<field name="editor1" type="editor" label="None" editor="none" />
<field name="editor2" type="editor" label="Default"/>

Expected result

Should be rendered 2 editor:
Editor type None
TinyMCE editor

Actual result

Rendered 4 editors.
For a first field:

  • editor none with name name="editor1"
  • editor TinyMce with name name="editor1"

For a second field:

  • editor none with name name="editor2"
  • editor TinyMce with name name="editor2"
avatar Fedik Fedik - open - 23 Sep 2018
avatar Fedik Fedik - change - 23 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Sep 2018
Category Libraries
avatar Hackwar
Hackwar - comment - 23 Sep 2018

I've tested this successfully. ? Does exactly what it should do.

avatar Hackwar
Hackwar - comment - 23 Sep 2018

I have tested this item successfully on 02b182d


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

avatar Hackwar Hackwar - test_item - 23 Sep 2018 - Tested successfully
avatar wilsonge wilsonge - change - 23 Sep 2018
Labels Added: ?
avatar wilsonge wilsonge - change - 23 Sep 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-09-23 18:15:04
Closed_By wilsonge
avatar wilsonge wilsonge - close - 23 Sep 2018
avatar wilsonge wilsonge - merge - 23 Sep 2018
avatar wilsonge
wilsonge - comment - 23 Sep 2018

Thanks!

Add a Comment

Login with GitHub to post a comment