? ? Success

User tests: Successful: Unsuccessful:

avatar ggppdk
ggppdk
2 Apr 2018

Pull Request for issues similar to #20062

Summary of Changes

The editor instance created by method
JEditor::_loadEditor($config);

will always ignore $config 2nd, 3rd, etc call

Are there any side-effects to this PR
Is there code depending on current bogus behaviour ?

Also this fix is propably incomplete,
because the new $config array will be set but any values existing in the old $config continue to be in use

Testing Instructions

Expected result

Actual result

Documentation Changes Required

avatar ggppdk ggppdk - open - 2 Apr 2018
avatar ggppdk ggppdk - change - 2 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2018
Category Libraries
avatar dgrammatiko
dgrammatiko - comment - 2 Apr 2018

Is there code depending on current bogus behaviour ?

Hard to tell, but if every editor was using just the display function we wouldn't have this mess in the first place:
https://github.com/ggppdk/joomla-cms/blob/65540041e17e2a9ac3202428fd0647628d3f6a86/libraries/src/Editor/Editor.php#L290-L324

avatar brianteeman
brianteeman - comment - 24 Oct 2020

This should probably be closed as it was opened as an RFC 2.5 years ago

avatar Quy Quy - change - 24 Oct 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-10-24 18:07:32
Closed_By Quy
avatar Quy Quy - close - 24 Oct 2020

Add a Comment

Login with GitHub to post a comment