?
Referenced as Pull Request for: # 7263
avatar joomla-agency
joomla-agency
24 Jun 2015

Steps to reproduce the issue

Install Joomla 3.4.2-rc
Set you Editor to CodeMirror
Create a new Article and click on the ReadMore Button under the Editor

Expected result

After the you should see a readmore snippet in your Code

Actual result

You are redirected to the Admin Dashboard

System information (as much as possible)

Joomla 3.4.1 -> Joomla 3.4.2-rc
PHP 5.6.2
Mysql 5.6.19
Tested Browser: FireFox 38.0.5

avatar joomla-agency joomla-agency - open - 24 Jun 2015
avatar joomla-agency joomla-agency - change - 24 Jun 2015
Build 3.4.2-rc staging
avatar brianteeman brianteeman - change - 24 Jun 2015
Status New Confirmed
avatar brianteeman
brianteeman - comment - 24 Jun 2015

Confirmed


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

avatar brianteeman brianteeman - change - 24 Jun 2015
Priority Medium Urgent
avatar brianteeman
brianteeman - comment - 24 Jun 2015

Raised priority based on https://docs.joomla.org/Priority


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

avatar dgt41
dgt41 - comment - 24 Jun 2015

reverting this: 1e2896c corrects the problem? If so I will provide a fix (this is an improvement and we should not revert it!)

avatar joomla-agency
joomla-agency - comment - 24 Jun 2015

@dgt41 yes i revert to the old code and the Problem is gone.

avatar dgt41
dgt41 - comment - 24 Jun 2015

Actually best way to solve this is to revert that patch and edit tinyMCE so the read more will be injected always to the active editor (in case of multiple instances)
so instead of

    public function onSetContent($editor, $html)
    {
        return 'tinyMCE.get(\'' . $editor . '\').setContent(' . $html . ');';
    }

we have this

    public function onSetContent($html)
    {
            return 'tinyMCE.activeEditor.setContent(' . $html . ');';
    }
avatar infograf768
infograf768 - comment - 25 Jun 2015

Please propose a patch. This is a regression.

avatar infograf768 infograf768 - change - 25 Jun 2015
Title
CodeMirror + J3.4.2-rc = Readmore Button in Content redirect to the Admin Dashboard
REGRESSION: CodeMirror + J3.4.2-rc = Readmore Button in Content redirect to the Admin Dashboard
avatar infograf768
infograf768 - comment - 25 Jun 2015

Changed title to add 'regression"


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

avatar dgt41
dgt41 - comment - 25 Jun 2015

Please test #7263

avatar Bakual
Bakual - comment - 25 Jun 2015

Closing as we have a PR.

avatar Bakual Bakual - change - 25 Jun 2015
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2015-06-25 15:14:18
Closed_By Bakual
avatar Bakual Bakual - close - 25 Jun 2015

Add a Comment

Login with GitHub to post a comment