? ? Pending

User tests: Successful: Unsuccessful:

avatar RickR2H
RickR2H
18 Oct 2022

Pull Request for Issue # .
PR #38863 introduces a bug if Codemirror is selected as default editor.
Image-002

Testing Instructions

Set the default editor to Codemirror

Actual result BEFORE applying this Pull Request

When an article is edited, there is an error when Codemirror is set ad default editor.

Warning: Undefined property: stdClass::$readOnly in C:\wamp64\www\joomlacms\plugins\editors\codemirror\layouts\editors\codemirror\element.php on line 41

Expected result AFTER applying this Pull Request

The error is the article editor is gone and the changes made in #38863 still work.

avatar RickR2H RickR2H - open - 18 Oct 2022
avatar RickR2H RickR2H - change - 18 Oct 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2022
Category Front End Plugins
avatar RickR2H RickR2H - change - 18 Oct 2022
The description was changed
avatar RickR2H RickR2H - edited - 18 Oct 2022
avatar RickR2H RickR2H - change - 18 Oct 2022
Labels Added: ?
avatar richard67
richard67 - comment - 19 Oct 2022

Doesn’t isset also cover the check for not null so the check for not null can be removed?

avatar RickR2H
RickR2H - comment - 19 Oct 2022

Doesn’t isset also cover the check for not null so the check for not null can be removed?

You are right. isset will return true if variable is set and not NULL.

avatar alikon
alikon - comment - 21 Oct 2022

I have tested this item successfully on c07eb44


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

avatar alikon alikon - test_item - 21 Oct 2022 - Tested successfully
avatar viocassel
viocassel - comment - 21 Oct 2022

I have tested this item successfully on c07eb44


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

avatar viocassel viocassel - test_item - 21 Oct 2022 - Tested successfully
avatar richard67 richard67 - alter_testresult - 21 Oct 2022 - alikon: Tested successfully
avatar richard67 richard67 - alter_testresult - 21 Oct 2022 - viocassel: Tested successfully
avatar richard67 richard67 - change - 21 Oct 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 21 Oct 2022

RTC


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

avatar rdeutz rdeutz - change - 23 Oct 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-10-23 07:42:53
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 23 Oct 2022
avatar rdeutz rdeutz - merge - 23 Oct 2022

Add a Comment

Login with GitHub to post a comment