View Issue Details

IDProjectCategoryView StatusLast Update
15363Bug reportsSurvey takingpublic2019-11-21 10:30
Reporterollehar Assigned Tocdorin  
PrioritynoneSeveritypartial_block 
Status assignedResolutionopen 
Product Version3.18.0 
Target Version3.18.x 
Summary15363: Can't submit question if ranking question uses both min/max and mandatory
Description

Title.

Steps To Reproduce
  1. Import survey
  2. Preview
  3. Can't submit
TagsNo tags attached.
Complete LimeSurvey version number (& build)latest master
I will donate to the project if issue is resolvedNo
Browser-
Database & DB-Version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Activities

ollehar

ollehar

2019-10-04 14:28

administrator  

DenisChenu

DenisChenu

2019-11-21 08:44

developer   ~54743

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

DenisChenu

DenisChenu

2019-11-21 08:45

developer   ~54744

Or min > max :)

ollehar

ollehar

2019-11-21 10:22

administrator   ~54746

Sure, just a question of how idiot safe you want to make the interface.

DenisChenu

DenisChenu

2019-11-21 10:30

developer   ~54747

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 …»

Issue History

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