View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15363Bug reportsSurvey takingpublic2021-03-10 22:15
Reporterollehar Assigned To 
PrioritylowSeveritypartial_block 
Status confirmedResolutionopen 
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.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)latest master
I will donate to the project if issue is resolvedNo
Browser-
Database type & version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Users monitoring this issue

There are no users monitoring this issue.

Activities

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

Last edited: 2021-02-04 21:23

Or min > max :)

ollehar

ollehar

2019-11-21 10:22

administrator   ~54746

Last edited: 2021-02-04 21:23

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

DenisChenu

DenisChenu

2019-11-21 10:30

developer   ~54747

Last edited: 2021-02-04 21:23

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