View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13299 | Bug reports | Conditions | public | 2018-02-06 01:56 | 2018-02-07 17:06 |
Reporter | juliang | Assigned To | ollehar | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.1.x | ||||
Summary | 13299: In Conditions designer, after adding a condition, "Save and close" gives 404 Not found error | ||||
Description | Version: git commit 82f6e69566ef654d64ef2abaf4e0ed85c6d50eca In the Conditions designer, I successfully added a condition for a question. If I then click "Close" (the red button), all goes fine, but if I click "Save and close", I get taken to the URL https://www.MYSERVER.COM/survey/index.php/admin/survey/sa/listquestiongroups/surveyid/282267628488 which then gives a 404 Not found. Survey not found error. The conditions designer page has URL https://www.MYSERVER.COM/survey/index.php/admin/conditions/sa/index/subaction/editconditionsform/surveyid/628488/gid/14/qid/126 and when I click close, I am taken back to the same URL. The source of the error appears to be line 231 in application/views/admin/survey/Question/questionbar_view.php, which has got the sample survey id 282267 left in the URL by mistake. Removing this "282267" fixes the problem; I can make a GitHub pull request if you would like, but it might be simpler just to delete the six characters! | ||||
Steps To Reproduce | As described in the description above | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | git master branch, commit 82f6e69566ef654d64ef2abaf4e0ed85c6d50eca | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mysql 347 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache 2.4.29 | ||||
PHP Version | 7.2 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-06 01:56 | juliang | New Issue | |
2018-02-06 11:52 | ollehar | Assigned To | => ollehar |
2018-02-06 11:52 | ollehar | Status | new => assigned |
2018-02-06 11:57 | ollehar | Changeset attached | => LimeSurvey master 74e99064 |
2018-02-06 11:57 | ollehar | Note Added: 46274 | |
2018-02-06 11:57 | ollehar | Resolution | open => fixed |
2018-02-06 11:59 | ollehar | Status | assigned => resolved |
2018-02-07 17:06 | ollehar | Status | resolved => closed |