View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11502 | Bug reports | Data Entry (non public) | public | 2016-07-26 19:38 | 2016-08-01 14:15 |
Reporter | mmartinwechu | Assigned To | |||
Priority | immediate | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Fixed in Version | 2.50.x | ||||
Summary | 11502: Popup editor does not launch. Error in DOM naming | ||||
Description | When clicking on the editor the error 13:34:07.302 TypeError: document.getElementsByName(...)[0] is undefined is logged. The naming of the fields is incorrect and it cannot be found in the document. The text field is id="answer_en_2_0" but the call is using the QID to find the element - answer_en_97_0 javascript:start_popup_editor('answer_en_97_0','Subquestion:','756986','11','97','editanswer','editanswer') The call to start_popup_editor is wrong | ||||
Steps To Reproduce | Create a question | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 160727 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox, ie and chrome | ||||
Database type & version | Mariadb 10.1 | ||||
Server OS (if known) | Cenots 7 | ||||
Webserver software & version (if known) | Apache 2.4 | ||||
PHP Version | 5.6.23 | ||||
All this popup editor must be rewrite in jquery + move in own external file and use data- etc .... But i can not confirm issue with Question ..... BUT : i confirm with ANSWERS edition (dor single choice for example) |
|
You are correct. Im sorry - I meant to say ANSWERS not questions. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19848 |
|
I don't use postgre and changed my local application/core/Survey_Common_Action.php with the diff from the commit you made. It doesnt seem to make any difference to the issue I reported. Was there other files affected? |
|
Yes, there should be a release today. |
|
Version 2.50 Build 160731 released |
|
LimeSurvey: master 480939a5 2016-07-28 16:14
Details Diff |
Fixed issue 11502: Popup editor does not launch. Error in DOM naming Fixed issue: Problem with inserting new subquestions in a postgresql environment. Dev: Added a check to prevent non-numeric id-values to be checked against the database to prevent postgresql type errors |
Affected Issues 11502 |
|
mod - application/core/Survey_Common_Action.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-26 19:38 | mmartinwechu | New Issue | |
2016-07-26 21:13 | DenisChenu | Note Added: 40064 | |
2016-07-26 21:14 | DenisChenu | Note Edited: 40064 | |
2016-07-27 08:22 | c_schmitz | Priority | none => immediate |
2016-07-27 21:20 | mmartinwechu | Note Added: 40086 | |
2016-07-28 15:05 | c_schmitz | Assigned To | => markusfluer |
2016-07-28 15:05 | c_schmitz | Status | new => assigned |
2016-07-28 16:48 |
|
Changeset attached | => LimeSurvey master 480939a5 |
2016-07-28 16:48 |
|
Note Added: 40101 | |
2016-07-28 16:48 |
|
Resolution | open => fixed |
2016-07-28 16:48 |
|
Status | assigned => resolved |
2016-07-28 16:48 |
|
Fixed in Version | => 2.5 |
2016-07-28 18:03 | mmartinwechu | Note Added: 40104 | |
2016-07-28 18:44 |
|
Note Added: 40105 | |
2016-08-01 14:15 | c_schmitz | Note Added: 40136 | |
2016-08-01 14:15 | c_schmitz | Status | resolved => closed |