View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07153Bug reportsSurvey editingpublic2013-02-19 14:37
ReporterDenisChenu Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionwon't fix 
Product Version2.00+ 
Summary07153: Popup HTML editor broken
Description

The popup HTML editor is broken

Steps To Reproduce

In your preference, set to "popup HTML editor", add a question, click on the "pencil" and look.

Additional Information

Maybe a childfren of this one:
https://github.com/LimeSurvey/LimeSurvey/commit/841753a8081a71199f6f17319a817a9ee6f14fcb
?

Tested with gingergreen too.

Inline HTML editor have :
Erreur : TypeError: C is null
Fichier Source : http://limesurvey.sondages.pro/third_party/ckeditor/ckeditor.js
Ligne : 145
When clicking on LS replacement filed.

TagsNo tags attached.
Attached Files
en.htm (768 bytes)   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
    <head>
        <title>LimeSurvey HTML editor</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="robots" content="noindex, nofollow" />
    </head>

    <body>
        <div class="maintitle">
            LimeSurvey HTML editor        </div>
        <hr />

        <table>
            <tr>
                <td align="center">
                    <br />
                    <span style="color:red;"><strong></strong></span>
                    <br />
                </td>
            </tr>
        </table>
        <form onsubmit="self.close()">
            <input type="submit" value="Close editor" />
        </form>
    </body>
</html>
en.htm (768 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)130106
I will donate to the project if issue is resolvedNo
BrowserFF17
Database type & versionMysql 5
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.3
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-01-09 10:36

developer   ~23572

Last edited: 2013-01-09 10:39

Testing this morning with:
$ git reset --hard
$ git pull

And same issue

Link (for a group description in nl, adminlang in en (tested with fr/fr too)
http://limesurvey/index.php/admin/htmleditor_pop/index.html/name/description_nl-informal/text/%5BDescription:%5D%28nl-informal%29/type/group-desc/action/editgroup/sid/71688/gid/259/qid/0/lang/en

Put the html produced just after

c_schmitz

c_schmitz

2013-01-09 10:40

administrator   ~23573

Browser cache cleared?

DenisChenu

DenisChenu

2013-01-09 10:42

developer   ~23574

Last edited: 2013-01-09 10:44

Got it \o/

Test with:

    'urlManager' => array(
        'urlFormat' => 'path',
        'rules' => require('routes.php'),
        'showScriptName' => true,
        'urlSuffix'=> '.html',
    ),

KO
remove urlSuffix : OK.

Take it, but not urgent: beacuse some user can choice urlSuffix :).

And with urlSuffix to /html, adding .html at end of the link are OK.
Then link don't use Yii url constructor.

c_schmitz

c_schmitz

2013-01-09 10:58

administrator   ~23575

I'd rather we don't support urlSuffix. It usually only creates problems and is not needed anyway.

DenisChenu

DenisChenu

2013-01-09 11:11

developer   ~23578

Maybe,

But i like to have .html at the end of my url, and if i like, maybe some user like it.
Especially for web crawler at public part.

c_schmitz

c_schmitz

2013-01-09 11:25

administrator   ~23579

There was a time when web crawler cared for this in the past but nowadays it does not have any influence on the crawling anymore - that's why everyone stopped doing it.

c_schmitz

c_schmitz

2013-02-19 14:37

administrator   ~24172

As said: We do not support urlSuffix.

Issue History

Date Modified Username Field Change
2013-01-08 08:54 DenisChenu New Issue
2013-01-08 08:54 DenisChenu File Added: Capture du 2013-01-08 08:46:51.png
2013-01-08 10:25 c_schmitz Assigned To => c_schmitz
2013-01-08 10:25 c_schmitz Status new => assigned
2013-01-08 21:57 c_schmitz Status assigned => closed
2013-01-08 21:57 c_schmitz Resolution open => fixed
2013-01-09 10:36 DenisChenu Note Added: 23572
2013-01-09 10:36 DenisChenu Status closed => feedback
2013-01-09 10:36 DenisChenu Resolution fixed => reopened
2013-01-09 10:37 DenisChenu Note Edited: 23572
2013-01-09 10:39 DenisChenu Note Edited: 23572
2013-01-09 10:39 DenisChenu File Added: en.htm
2013-01-09 10:40 c_schmitz Note Added: 23573
2013-01-09 10:42 DenisChenu Note Added: 23574
2013-01-09 10:42 DenisChenu Status feedback => assigned
2013-01-09 10:42 DenisChenu Assigned To c_schmitz => DenisChenu
2013-01-09 10:42 DenisChenu Note Edited: 23574
2013-01-09 10:44 DenisChenu Note Edited: 23574
2013-01-09 10:58 c_schmitz Note Added: 23575
2013-01-09 11:11 DenisChenu Note Added: 23578
2013-01-09 11:25 c_schmitz Note Added: 23579
2013-02-19 14:37 c_schmitz Note Added: 24172
2013-02-19 14:37 c_schmitz Status assigned => closed
2013-02-19 14:37 c_schmitz Assigned To DenisChenu => c_schmitz
2013-02-19 14:37 c_schmitz Resolution reopened => won't fix
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing