View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05407 | Bug reports | Survey editing | public | 2011-08-18 17:05 | 2012-03-11 16:32 |
Reporter | TMSWhite | Assigned To | |||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00a1 | ||||
Target Version | 2.00a2 | Fixed in Version | 2.00a2 | ||
Summary | 05407: Can't add sub-questions to Array or answeroptions to List - parameters not expanded | ||||
Description | Array 5 point choice. When click on "you need to add sub-questions", get this error: "The URI you submitted has disallowed characters" The URI in question is: The same problem occurs for List question when you click the icon to add answer options, it generates this URL: | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 10763 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | Mysql 5.2 | ||||
Server OS (if known) | Windows XP | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.2 | ||||
Afaik it is not implemented yet. Should be there very soon. |
|
c_schmitz : It has been implemented. Just the wrong url. Fixed it. |
|
Thanks!. It now works for Array. Note, however, that although it visibly works for List, I get this error message: Notice: Undefined index: sortorder in admin/question.php(159) Also, when I try to edit the list in a dual language survey (english/german), I get this error (I get the same error for Array Dual-Scale - edit answer options): Fatal error: Call to a member function GetOne() on a non-object in C:\xampp\htdocs\limesurvey_ci\application\controllers\admin\question.php on line 120 Similarly, for Array 5 point, edit sub-questions in a 2 language survey, I get this (and get the same error for Array Dual-Scale edit sub-questions): Error Number: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and scale_id=0' at line 1 SELECT count(*) AS countall FROM lime_questions WHERE parent_qid=17 AND language='de' AND qid= and scale_id=0 Filename: C:\xampp\htdocs\limesurvey_ci\system\database\DB_driver.php Line Number: 330 |
|
There is a similar URL problem with adding default values. I get this URL: |
|
TMSWhite : Thanks, that action wasn't implemented then. Now, it works. |
|
One more - the HTML pop-up editor has the same problem even with most recent _ci updates. For example (pop-up editing group, question, help, question (2nd language): |
|
TMSWhite : Can you update and check again? Controller wasn't implemented then, now it should work. |
|
magiclko- The popup editors are working. However, it seems to be running htmlspecialchars() on the portions of the string that are between HTML tags. So, single and double quotes, ampersands, etc. are all replaced with HTML entities, but <table border="1"> does not have the quotes for the border attribute replaced. Is this the desired behavior? For Expression Manager, I make heavy use of quotes within Expressions. Perhaps one option is to not run htmlspecialchars() on expressions surrounded by curly braces? -Tom |
|
This works fine in Yii version |
|
2.00alpha 2 Build 120212 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-18 17:05 | TMSWhite | New Issue | |
2011-08-18 21:46 | c_schmitz | Assigned To | => magiclko |
2011-08-18 21:46 | c_schmitz | Status | new => assigned |
2011-08-18 21:46 | c_schmitz | Note Added: 16101 | |
2011-08-18 22:12 |
|
Note Added: 16102 | |
2011-08-18 22:13 |
|
Note Edited: 16102 | |
2011-08-18 23:44 | TMSWhite | Note Added: 16103 | |
2011-08-19 00:35 | TMSWhite | Note Added: 16104 | |
2011-08-19 16:11 |
|
Note Added: 16107 | |
2011-08-23 06:47 | TMSWhite | Note Added: 16113 | |
2011-08-27 19:10 |
|
Note Added: 16174 | |
2011-08-31 22:33 | TMSWhite | Note Added: 16184 | |
2012-01-20 15:43 | TMSWhite | Note Added: 16852 | |
2012-01-20 15:43 | TMSWhite | Status | assigned => resolved |
2012-01-20 15:43 | TMSWhite | Resolution | open => fixed |
2012-01-24 21:33 | c_schmitz | Fixed in Version | => 2.00a2 |
2012-01-24 21:33 | c_schmitz | Target Version | => 2.00a2 |
2012-01-24 21:33 | c_schmitz | Description Updated | |
2012-03-11 16:32 | c_schmitz | Note Added: 17867 | |
2012-03-11 16:32 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |