View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15363 | Bug reports | Survey taking | public | 2019-10-04 14:28 | 2026-11-04 23:06 |
| Reporter | ollehar | Assigned To | c_schmitz | ||
| Priority | low | Severity | partial_block | ||
| Status | closed | Resolution | duplicate | ||
| Product Version | 3.18.0 | ||||
| Summary | 15363: Can't submit question if ranking question uses both min/max and mandatory | ||||
| Description | Title. | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | latest master | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | - | ||||
| Database type & version | - | ||||
| Server OS (if known) | - | ||||
| Webserver software & version (if known) | - | ||||
| PHP Version | - | ||||
| Git branch / Pull Request URL | |||||
| duplicate of | 17330 | closed | gabrieljenik | Ranking Question Issue |
| related to | 20818 | new | Mandatory means different things per question type and can conflict with the minimum/maximum answers settings |
|
Solution : when checking min/max : check mandatory ? Disable min/max if mandatory is set. https://github.com/LimeSurvey/LimeSurvey/blob/7e3cd94cfa73dbf03f903dc406142bb4f9848a15/application/helpers/qanda_helper.php#L1812-L1816 BUT : it's a user logic issue … You can have more issue like this :) For example : multiple mandatory with max_number at 0 |
|
|
Or min > max :) |
|
|
Sure, just a question of how idiot safe you want to make the interface. |
|
|
About original issue : i'm 98% sure if we disable min/max with mandatory : there are forum post about «… i set a max on ranking but it don't work …» |
|
|
The underlying problem is not limited to ranking: on several question types with more than one answer, "mandatory" can conflict with the minimum/maximum answers settings. A possible solution is described in 20818. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-10-04 14:28 | ollehar | New Issue | |
| 2019-10-04 14:28 | ollehar | File Added: limesurvey_survey_894336_ranking_minmax_mandatory.lss | |
| 2019-11-20 17:26 | cdorin | Assigned To | => cdorin |
| 2019-11-20 17:26 | cdorin | Status | new => assigned |
| 2019-11-21 08:44 | DenisChenu | Note Added: 54743 | |
| 2019-11-21 08:45 | DenisChenu | Note Added: 54744 | |
| 2019-11-21 10:22 | ollehar | Note Added: 54746 | |
| 2019-11-21 10:30 | DenisChenu | Note Added: 54747 | |
| 2021-02-04 21:22 | cdorin | Assigned To | cdorin => |
| 2021-02-04 21:22 | cdorin | Status | assigned => confirmed |
| 2021-02-04 21:22 | cdorin | Sync to Zoho Project | => |Yes| |
| 2021-02-04 21:23 | LimeBot | Zoho Projects ID | => 85781000000571013 |
| 2021-03-10 22:15 | ollehar | Priority | none => low |
| 2021-03-10 22:15 | ollehar | Sync to Zoho Project | Yes => |Yes| |
| 2026-10-12 20:01 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-12 20:01 | c_schmitz | Status | confirmed => acknowledged |
| 2026-11-04 23:03 | c_schmitz | Relationship added | duplicate of 17330 |
| 2026-11-04 23:03 | c_schmitz | Status | acknowledged => closed |
| 2026-11-04 23:03 | c_schmitz | Resolution | open => duplicate |
| 2026-11-04 23:06 | c_schmitz | Relationship added | related to 20818 |
| 2026-11-04 23:06 | c_schmitz | Note Added: 87195 | |
| 2026-11-04 23:06 | c_schmitz | Bug heat | 4 => 6 |