View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18036 | Bug reports | Conditions | public | 2022-04-14 14:08 | 2022-05-02 10:33 |
Reporter | c_schmitz | Assigned To | gabrieljenik | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.3.x | ||||
Summary | 18036: Database error when renumbering a scenario | ||||
Description | If more than one scenario was added and I want to change the scenario number and don't add a number I would get a database error. | ||||
Steps To Reproduce | Steps to reproduceAdd two conditions to a question which each have a different scenario. Expected resultI would expect to not be able to submit the empty scenario number or have the field default to the current scenario number. Actual resultI can submit and get a database error. 2022/04/12 17:14:30 [error] [exception.CDbException] CDbException: | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 5.3.9 220411 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | n/a | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | n/a | ||||
First step: the scenario number field is empty when you click on update. The field should be prefilled with the current scenario number. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33454 |
|
Fixed in Release 5.3.12+220502 |
|
LimeSurvey: master 30fef131 2022-05-02 09:57 Committer: GitHub Details Diff |
Fixed issue 18036: Database error when renumbering a scenario (#2354) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 18036 |
|
mod - application/controllers/admin/ConditionsAction.php | Diff File | ||
mod - application/views/admin/conditions/includes/conditions_scenario.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-04-14 14:08 | c_schmitz | New Issue | |
2022-04-14 14:11 | c_schmitz | Assigned To | => gabrieljenik |
2022-04-14 14:11 | c_schmitz | Status | new => assigned |
2022-04-14 14:15 | galads | Status | assigned => confirmed |
2022-04-14 14:15 | galads | Note Added: 69074 | |
2022-04-14 14:15 | galads | Bug heat | 0 => 2 |
2022-04-14 14:15 | galads | Priority | none => normal |
2022-04-14 20:46 | gabrieljenik | Note Added: 69086 | |
2022-04-14 20:46 | gabrieljenik | Bug heat | 2 => 4 |
2022-04-14 20:46 | gabrieljenik | Status | confirmed => ready for testing |
2022-05-02 07:57 | gabrieljenik | Changeset attached | => LimeSurvey master 30fef131 |
2022-05-02 07:57 | gabrieljenik | Note Added: 69325 | |
2022-05-02 07:57 | gabrieljenik | Resolution | open => fixed |
2022-05-02 10:33 | LimeBot | Note Added: 69331 | |
2022-05-02 10:33 | LimeBot | Status | ready for testing => closed |
2022-05-02 10:33 | LimeBot | Bug heat | 4 => 6 |