View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15363 | Bug reports | Survey taking | public | 2019-10-04 14:28 | 2021-03-10 22:15 |
| Reporter | ollehar | Assigned To | |||
| Priority | low | Severity | partial_block | ||
| Status | confirmed | Resolution | open | ||
| Product Version | 3.18.0 | ||||
| Target Version | 3.18.x | ||||
| 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 | 4 | ||||
| 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 | - | ||||
|
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 …» |
|
| 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-03-10 22:15 | ollehar | Priority | none => low |
| 2021-03-10 22:15 | ollehar | Sync to Zoho Project | Yes => |Yes| |