Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18645Bug reportsOtherpublic2023-04-12 08:20
ReporterWaterlijn Assigned Toc_schmitz  
PrioritynoneSeveritytrivial 
Status in code reviewResolutionopen 
Product Version5.6.x 
Summary18645: Quotas overruled when a user updates the survey
Description

I've created a survey for people that have to pick a date for a course. Every day has a quota because the number of participants are limited.
So I created a radio list and a quota for every option (not a quota with all questions, because that is not working for this situation.

When the participant enters the date, it working normally. When the quota is reached, there is a message and they cannot go on. But when a user enters the question list again and selects a date where the quorum is reached, the option is saved and exceeds the quota.

Steps To Reproduce

Steps to reproduce

Settings: Persistent -> on, User can update -> on (not inherit (on), that is not working).
User 1 selects option A1, User 2 selects option A2
User 2 (received a mail) and opens the question list again and selects also A1.

Expected result

The second time User 2 should be blocked.
But the quota exceeds the limit.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Versie 5.6.5+230214
I will donate to the project if issue is resolvedNo
BrowserMS Edge (but works in all browsers)
Database type & version10.4.26-MariaDB
Server OS (if known)Centos
Webserver software & version (if known)
PHP Version8.1.3

Relationships

related to 10230 closedDenisChenu Limesurvey should not check completed surveys quotas 

Activities

Waterlijn

Waterlijn

2023-02-18 15:48

reporter  

Settings.png (27,126 bytes)   
Settings.png (27,126 bytes)   
question.png (8,244 bytes)   
question.png (8,244 bytes)   
quota.png (25,510 bytes)   
quota.png (25,510 bytes)   
limesurvey_survey_877633 (1).lss (27,197 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Survey</LimeSurveyDocType>
 <DBVersion>495</DBVersion>
 <languages>
  <language>nl-informal</language>
 </languages>
 <answers>
  <fields>
   <fieldname>aid</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>code</fieldname>
   <fieldname>sortorder</fieldname>
   <fieldname>assessment_value</fieldname>
   <fieldname>scale_id</fieldname>
  </fields>
  <rows>
   <row>
    <aid><![CDATA[991]]></aid>
    <qid><![CDATA[1101]]></qid>
    <code><![CDATA[AO01]]></code>
    <sortorder><![CDATA[0]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[992]]></aid>
    <qid><![CDATA[1101]]></qid>
    <code><![CDATA[AO02]]></code>
    <sortorder><![CDATA[1]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
  </rows>
 </answers>
 <answer_l10ns>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>aid</fieldname>
   <fieldname>answer</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[991]]></id>
    <aid><![CDATA[991]]></aid>
    <answer><![CDATA[A1]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[992]]></id>
    <aid><![CDATA[992]]></aid>
    <answer><![CDATA[A2]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
  </rows>
 </answer_l10ns>
 <groups>
  <fields>
   <fieldname>gid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <gid><![CDATA[28]]></gid>
    <sid><![CDATA[877633]]></sid>
    <group_order><![CDATA[0]]></group_order>
    <randomization_group/>
    <grelevance><![CDATA[1]]></grelevance>
   </row>
  </rows>
 </groups>
 <group_l10ns>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>group_name</fieldname>
   <fieldname>description</fieldname>
   <fieldname>language</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[28]]></id>
    <gid><![CDATA[28]]></gid>
    <group_name><![CDATA[Dagen 1]]></group_name>
    <description/>
    <language><![CDATA[nl-informal]]></language>
    <sid><![CDATA[877633]]></sid>
    <group_order><![CDATA[0]]></group_order>
    <randomization_group/>
    <grelevance><![CDATA[1]]></grelevance>
   </row>
  </rows>
 </group_l10ns>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>encrypted</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
   <fieldname>modulename</fieldname>
   <fieldname>question_theme_name</fieldname>
   <fieldname>same_script</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1101]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[877633]]></sid>
    <gid><![CDATA[28]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[G00Q02]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[1]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <modulename/>
    <question_theme_name><![CDATA[listradio]]></question_theme_name>
    <same_script><![CDATA[0]]></same_script>
   </row>
  </rows>
 </questions>
 <question_l10ns>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>question</fieldname>
   <fieldname>help</fieldname>
   <fieldname>script</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[1101]]></id>
    <qid><![CDATA[1101]]></qid>
    <question><![CDATA[Test]]></question>
    <help/>
    <script/>
    <language><![CDATA[nl-informal]]></language>
   </row>
  </rows>
 </question_l10ns>
 <question_attributes>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>attribute</fieldname>
   <fieldname>value</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[answer_order]]></attribute>
    <value><![CDATA[normal]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[array_filter]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[array_filter_exclude]]></attribute>
    <value><![CDATA['AO01']]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[array_filter_style]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[crop_or_resize]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[cssclass]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[display_columns]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[em_validation_q]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[em_validation_q_tip]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[fix_height]]></attribute>
    <value><![CDATA[200]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[fix_width]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[hidden]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[hide_tip]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[horizontal_scroll]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[javascript]]></attribute>
    <value><![CDATA[console.log('[G00Q02.nb.AO01]');]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[keep_aspect]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[other_comment_mandatory]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[other_numbers_only]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[other_position]]></attribute>
    <value><![CDATA[default]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[other_position_code]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[other_replace_text]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[page_break]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[printable_help]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[public_statistics]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[random_group]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[save_as_default]]></attribute>
    <value><![CDATA[N]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[scale_export]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[scriptActivate]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[statistics_graphtype]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[statistics_showgraph]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_action]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_countdown_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_disable_next]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_disable_prev]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_message_delay]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_message_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_timer_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_2]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_2_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_2_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_display_time]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[1101]]></qid>
    <attribute><![CDATA[time_limit_warning_style]]></attribute>
    <value/>
    <language/>
   </row>
  </rows>
 </question_attributes>
 <quota>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>name</fieldname>
   <fieldname>qlimit</fieldname>
   <fieldname>action</fieldname>
   <fieldname>active</fieldname>
   <fieldname>autoload_url</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[16]]></id>
    <sid><![CDATA[877633]]></sid>
    <name><![CDATA[D1]]></name>
    <qlimit><![CDATA[1]]></qlimit>
    <action><![CDATA[2]]></action>
    <active><![CDATA[1]]></active>
    <autoload_url><![CDATA[0]]></autoload_url>
   </row>
   <row>
    <id><![CDATA[17]]></id>
    <sid><![CDATA[877633]]></sid>
    <name><![CDATA[D2]]></name>
    <qlimit><![CDATA[1]]></qlimit>
    <action><![CDATA[2]]></action>
    <active><![CDATA[1]]></active>
    <autoload_url><![CDATA[0]]></autoload_url>
   </row>
  </rows>
 </quota>
 <quota_members>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>quota_id</fieldname>
   <fieldname>code</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[30]]></id>
    <sid><![CDATA[877633]]></sid>
    <qid><![CDATA[1101]]></qid>
    <quota_id><![CDATA[16]]></quota_id>
    <code><![CDATA[AO01]]></code>
   </row>
   <row>
    <id><![CDATA[31]]></id>
    <sid><![CDATA[877633]]></sid>
    <qid><![CDATA[1101]]></qid>
    <quota_id><![CDATA[17]]></quota_id>
    <code><![CDATA[AO02]]></code>
   </row>
  </rows>
 </quota_members>
 <quota_languagesettings>
  <fields>
   <fieldname>quotals_id</fieldname>
   <fieldname>quotals_quota_id</fieldname>
   <fieldname>quotals_language</fieldname>
   <fieldname>quotals_name</fieldname>
   <fieldname>quotals_message</fieldname>
   <fieldname>quotals_url</fieldname>
   <fieldname>quotals_urldescrip</fieldname>
  </fields>
  <rows>
   <row>
    <quotals_id><![CDATA[16]]></quotals_id>
    <quotals_quota_id><![CDATA[16]]></quotals_quota_id>
    <quotals_language><![CDATA[nl-informal]]></quotals_language>
    <quotals_message><![CDATA[Helaas, het maximum aantal deelnemers is al bereikt.]]></quotals_message>
    <quotals_url/>
    <quotals_urldescrip/>
   </row>
   <row>
    <quotals_id><![CDATA[17]]></quotals_id>
    <quotals_quota_id><![CDATA[17]]></quotals_quota_id>
    <quotals_language><![CDATA[nl-informal]]></quotals_language>
    <quotals_message><![CDATA[Helaas, het maximum aantal deelnemers is al bereikt.]]></quotals_message>
    <quotals_url/>
    <quotals_urldescrip/>
   </row>
  </rows>
 </quota_languagesettings>
 <surveys>
  <fields>
   <fieldname>sid</fieldname>
   <fieldname>gsid</fieldname>
   <fieldname>admin</fieldname>
   <fieldname>expires</fieldname>
   <fieldname>startdate</fieldname>
   <fieldname>adminemail</fieldname>
   <fieldname>anonymized</fieldname>
   <fieldname>faxto</fieldname>
   <fieldname>format</fieldname>
   <fieldname>savetimings</fieldname>
   <fieldname>template</fieldname>
   <fieldname>language</fieldname>
   <fieldname>additional_languages</fieldname>
   <fieldname>datestamp</fieldname>
   <fieldname>usecookie</fieldname>
   <fieldname>allowregister</fieldname>
   <fieldname>allowsave</fieldname>
   <fieldname>autonumber_start</fieldname>
   <fieldname>autoredirect</fieldname>
   <fieldname>allowprev</fieldname>
   <fieldname>printanswers</fieldname>
   <fieldname>ipaddr</fieldname>
   <fieldname>refurl</fieldname>
   <fieldname>showsurveypolicynotice</fieldname>
   <fieldname>publicstatistics</fieldname>
   <fieldname>publicgraphs</fieldname>
   <fieldname>listpublic</fieldname>
   <fieldname>htmlemail</fieldname>
   <fieldname>sendconfirmation</fieldname>
   <fieldname>tokenanswerspersistence</fieldname>
   <fieldname>assessments</fieldname>
   <fieldname>usecaptcha</fieldname>
   <fieldname>usetokens</fieldname>
   <fieldname>bounce_email</fieldname>
   <fieldname>attributedescriptions</fieldname>
   <fieldname>emailresponseto</fieldname>
   <fieldname>emailnotificationto</fieldname>
   <fieldname>tokenlength</fieldname>
   <fieldname>showxquestions</fieldname>
   <fieldname>showgroupinfo</fieldname>
   <fieldname>shownoanswer</fieldname>
   <fieldname>showqnumcode</fieldname>
   <fieldname>bouncetime</fieldname>
   <fieldname>bounceprocessing</fieldname>
   <fieldname>bounceaccounttype</fieldname>
   <fieldname>bounceaccounthost</fieldname>
   <fieldname>bounceaccountpass</fieldname>
   <fieldname>bounceaccountencryption</fieldname>
   <fieldname>bounceaccountuser</fieldname>
   <fieldname>showwelcome</fieldname>
   <fieldname>showprogress</fieldname>
   <fieldname>questionindex</fieldname>
   <fieldname>navigationdelay</fieldname>
   <fieldname>nokeyboard</fieldname>
   <fieldname>alloweditaftercompletion</fieldname>
   <fieldname>googleanalyticsstyle</fieldname>
   <fieldname>googleanalyticsapikey</fieldname>
   <fieldname>tokenencryptionoptions</fieldname>
   <fieldname>ipanonymize</fieldname>
  </fields>
  <rows>
   <row>
    <sid><![CDATA[877633]]></sid>
    <gsid><![CDATA[1]]></gsid>
    <admin><![CDATA[inherit]]></admin>
    <expires><![CDATA[2023-10-02 00:00:00]]></expires>
    <adminemail><![CDATA[inherit]]></adminemail>
    <anonymized><![CDATA[N]]></anonymized>
    <faxto/>
    <format><![CDATA[G]]></format>
    <savetimings><![CDATA[N]]></savetimings>
    <template><![CDATA[inherit]]></template>
    <language><![CDATA[nl-informal]]></language>
    <additional_languages/>
    <datestamp><![CDATA[Y]]></datestamp>
    <usecookie><![CDATA[I]]></usecookie>
    <allowregister><![CDATA[I]]></allowregister>
    <allowsave><![CDATA[I]]></allowsave>
    <autonumber_start><![CDATA[38]]></autonumber_start>
    <autoredirect><![CDATA[I]]></autoredirect>
    <allowprev><![CDATA[I]]></allowprev>
    <printanswers><![CDATA[I]]></printanswers>
    <ipaddr><![CDATA[N]]></ipaddr>
    <refurl><![CDATA[N]]></refurl>
    <showsurveypolicynotice><![CDATA[0]]></showsurveypolicynotice>
    <publicstatistics><![CDATA[I]]></publicstatistics>
    <publicgraphs><![CDATA[I]]></publicgraphs>
    <listpublic><![CDATA[I]]></listpublic>
    <htmlemail><![CDATA[I]]></htmlemail>
    <sendconfirmation><![CDATA[N]]></sendconfirmation>
    <tokenanswerspersistence><![CDATA[Y]]></tokenanswerspersistence>
    <assessments><![CDATA[I]]></assessments>
    <usecaptcha><![CDATA[E]]></usecaptcha>
    <usetokens><![CDATA[N]]></usetokens>
    <bounce_email><![CDATA[inherit]]></bounce_email>
    <attributedescriptions><![CDATA[[]]]></attributedescriptions>
    <emailresponseto><![CDATA[inherit]]></emailresponseto>
    <emailnotificationto><![CDATA[inherit]]></emailnotificationto>
    <tokenlength><![CDATA[-1]]></tokenlength>
    <showxquestions><![CDATA[I]]></showxquestions>
    <showgroupinfo><![CDATA[I]]></showgroupinfo>
    <shownoanswer><![CDATA[I]]></shownoanswer>
    <showqnumcode><![CDATA[I]]></showqnumcode>
    <bounceprocessing><![CDATA[N]]></bounceprocessing>
    <showwelcome><![CDATA[I]]></showwelcome>
    <showprogress><![CDATA[I]]></showprogress>
    <questionindex><![CDATA[-1]]></questionindex>
    <navigationdelay><![CDATA[-1]]></navigationdelay>
    <nokeyboard><![CDATA[I]]></nokeyboard>
    <alloweditaftercompletion><![CDATA[Y]]></alloweditaftercompletion>
    <googleanalyticsstyle/>
    <googleanalyticsapikey/>
    <tokenencryptionoptions><![CDATA[{"enabled":"Y","columns":{"firstname":"N","lastname":"N","email":"N"}}]]></tokenencryptionoptions>
    <ipanonymize><![CDATA[N]]></ipanonymize>
   </row>
  </rows>
 </surveys>
 <surveys_languagesettings>
  <fields>
   <fieldname>surveyls_survey_id</fieldname>
   <fieldname>surveyls_language</fieldname>
   <fieldname>surveyls_title</fieldname>
   <fieldname>surveyls_description</fieldname>
   <fieldname>surveyls_welcometext</fieldname>
   <fieldname>surveyls_endtext</fieldname>
   <fieldname>surveyls_policy_notice</fieldname>
   <fieldname>surveyls_policy_error</fieldname>
   <fieldname>surveyls_policy_notice_label</fieldname>
   <fieldname>surveyls_url</fieldname>
   <fieldname>surveyls_urldescription</fieldname>
   <fieldname>surveyls_email_invite_subj</fieldname>
   <fieldname>surveyls_email_invite</fieldname>
   <fieldname>surveyls_email_remind_subj</fieldname>
   <fieldname>surveyls_email_remind</fieldname>
   <fieldname>surveyls_email_register_subj</fieldname>
   <fieldname>surveyls_email_register</fieldname>
   <fieldname>surveyls_email_confirm_subj</fieldname>
   <fieldname>surveyls_email_confirm</fieldname>
   <fieldname>surveyls_dateformat</fieldname>
   <fieldname>surveyls_attributecaptions</fieldname>
   <fieldname>email_admin_notification_subj</fieldname>
   <fieldname>email_admin_notification</fieldname>
   <fieldname>email_admin_responses_subj</fieldname>
   <fieldname>email_admin_responses</fieldname>
   <fieldname>surveyls_numberformat</fieldname>
   <fieldname>attachments</fieldname>
   <fieldname>surveyls_alias</fieldname>
  </fields>
  <rows>
   <row>
    <surveyls_survey_id><![CDATA[877633]]></surveyls_survey_id>
    <surveyls_language><![CDATA[nl-informal]]></surveyls_language>
    <surveyls_title><![CDATA[Test quota]]></surveyls_title>
    <surveyls_description/>
    <surveyls_welcometext/>
    <surveyls_endtext/>
    <surveyls_policy_notice/>
    <surveyls_policy_notice_label/>
    <surveyls_url/>
    <surveyls_urldescription/>
    <surveyls_email_invite_subj><![CDATA[Uitnodiging om deel te nemen aan een vragenlijst]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[Beste {FIRSTNAME},<br />
<br />
Je wordt uitgenodigd om deel te nemen aan een onderzoek.<br />
<br />
Het onderzoek is genaamd:<br />
'{SURVEYNAME}'<br />
<br />
'{SURVEYDESCRIPTION}'<br />
<br />
Om aan het onderzoek deel te nemen moet je op onderstaande link klikken.<br />
<br />
Met vriendelijke groeten,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Klik op {SURVEYURL}<br />
 om aan het onderzoek deel te nemen.<br />
<br />
Als je deze vragenlijst niet wilt invullen en ook geen nieuwe uitnodigingen wilt ontvangen, klik dan op de volgende link: {OPTOUTURL}<br />
<br />
Als je bent uitgesloten, maar toch deze vragenlijst wilt invullen en ook nieuwe uitnodigingen wilt ontvangen, klik dan op de volgende link:<br />
{OPTINURL}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Herinnering om deel te nemen aan een vragenlijst]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[Beste {FIRSTNAME},<br />
<br />
Recent bent je uitgenodigd om aan een onderzoek deel te nemen.<br />
<br />
We hebben geconstateerd dat je nog niet aan het onderzoek hebt deelgenomen en willen je er bij deze aan herinneren dat het onderzoek nog loopt en dat je, als je dat wilt, nog kan deelnemen. <br />
<br />
Het onderzoek is getiteld: <br />
''{SURVEYNAME}"<br />
<br />
''{SURVEYDESCRIPTION}"<br />
<br />
Om deel te nemen klik je op onderstaande link. <br />
<br />
Hoogachtend,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Klik op:<br />
{SURVEYURL} om aan het onderzoek deel te nemen.<br />
<br />
Als je deze vragenlijst niet wilt invullen en ook geen nieuwe uitnodigingen wilt ontvangen, klik dan op de volgende link: {OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Bevestiging registratie vragenlijst]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[Beste {FIRSTNAME},<br />
<br />
Je, of iemand die je e-mailadres gebruikt, heeft zich aangemeld voor deelname aan het online onderzoek {SURVEYNAME}.<br />
<br />
Klik op onderstaande link om aan het onderzoek mee te doen:<br />
<br />
{SURVEYURL}<br />
<br />
Als je vragen hebt over de vragenlijst, of als je je niet hebt aangemeld voor deelname en meent dat je deze e-mail ten onrechte hebt ontvangen, kun je contact opnemen met {ADMINNAME} via {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Bevestiging van je deelname aan de vragenlijst]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[Beste {FIRSTNAME},<br />
<br />
Dit e-mail bericht bevestigt dat je de vragenlijst {SURVEYNAME} hebt ingevuld en dat je antwoorden zijn verwerkt. Bedankt voor de deelname.<br />
<br />
Als je vragen hebt over deze e-mail, neem dan contact op met de beheerder {ADMINNAME} via {ADMINEMAIL}.<br />
<br />
Met vriendelijke groeten,<br />
<br />
{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[2]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Respons op vragenlijst {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[Hallo,<br />
<br />
Er is een nieuwe reactie op je vragenlijst '{SURVEYNAME}'.<br />
<br />
Om de reactie te bekijken:<br />
{VIEWRESPONSEURL}<br />
<br />
Om de reactie te wijzigen:<br />
{EDITRESPONSEURL}<br />
<br />
Om de statistieken te bekijken:<br />
{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[Respons op vragenlijst {SURVEYNAME} met resultaten]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[Hallo,<br />
<br />
Er is een nieuwe reactie op je vragenlijst  '{SURVEYNAME}'.<br />
<br />
Om de reactie te bekijken:<br />
{VIEWRESPONSEURL}<br />
<br />
Om de reactie te wijzigen:<br />
{EDITRESPONSEURL}<br />
<br />
Om de statistieken te bekijken:<br />
{STATISTICSURL}<br />
<br />
<br />
De deelnemer heeft de volgende antwoorden gegeven:<br />
{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[1]]></surveyls_numberformat>
   </row>
  </rows>
 </surveys_languagesettings>
 <themes>
  <theme>
   <sid>877633</sid>
   <template_name>Waterlijn</template_name>
   <config>
    <options>inherit</options>
   </config>
  </theme>
 </themes>
 <themes_inherited>
  <theme>
   <sid>877633</sid>
   <template_name>Waterlijn</template_name>
   <config>
    <options>
     <container>on</container>
     <zebrastriping>off</zebrastriping>
     <stickymatrixheaders>off</stickymatrixheaders>
     <greyoutselected>off</greyoutselected>
     <hideprivacyinfo>off</hideprivacyinfo>
     <crosshover>off</crosshover>
     <showpopups>1</showpopups>
     <notables>1</notables>
     <showclearall>off</showclearall>
     <questionhelptextposition>top</questionhelptextposition>
     <fixnumauto>off</fixnumauto>
     <questionborder>on</questionborder>
     <questioncontainershadow>on</questioncontainershadow>
     <bodybackgroundcolor>#ffffff</bodybackgroundcolor>
     <fontcolor>#444444</fontcolor>
     <questionbackgroundcolor>#ffffff</questionbackgroundcolor>
     <backgroundimage>off</backgroundimage>
     <brandlogo>on</brandlogo>
     <brandlogofile>image::theme::files/logocombi.png</brandlogofile>
     <animatebody>off</animatebody>
     <bodyanimationduration>500</bodyanimationduration>
     <animatequestion>off</animatequestion>
     <questionanimationduration>500</questionanimationduration>
     <animatealert>off</animatealert>
     <alertanimationduration>500</alertanimationduration>
     <animatecheckbox>on</animatecheckbox>
     <checkboxanimationduration>500</checkboxanimationduration>
     <animateradio>on</animateradio>
     <radioanimationduration>500</radioanimationduration>
     <font>roboto</font>
     <cssframework>noto
            
        </cssframework>
    </options>
   </config>
  </theme>
 </themes_inherited>
</document>
gabrieljenik

gabrieljenik

2023-03-14 16:03

manager   ~74112

@DenisChenu do you want to take this?

DenisChenu

DenisChenu

2023-03-14 16:13

developer   ~74114

Answer persistance + quota broken ?
Arg …

OK, i take a look.

DenisChenu

DenisChenu

2023-03-14 16:22

developer   ~74115

@gabrieljenik : https://github.com/LimeSurvey/LimeSurvey/blob/554fdd116196ff74b24a6b7eb552d96e453fd575/application/helpers/frontend_helper.php#L1809

Unsure if we need an option here …

DenisChenu

DenisChenu

2023-03-14 16:23

developer   ~74116

We need an option : https://bugs.limesurvey.org/view.php?id=10230

gabrieljenik

gabrieljenik

2023-03-14 16:46

manager   ~74117

I would wait for carsten on this.
Seems the behaviour is intended.

DenisChenu

DenisChenu

2023-03-15 15:42

developer   ~74121

Yes : but have an option (false by default and for API) can be interesting.

This still allow to save up the 1.

Another interesting solution : open an already submitted survey and do action reset submitdate
https://gitlab.com/SondagesPro/coreAndTools/reloadAnyResponse/-/blob/master/reloadAnyResponse.php#L1747

(a lot of this option must be in core, i need to create issue/feature/dev mantis)

DenisChenu

DenisChenu

2023-04-04 19:09

developer   ~74371

@ollehar : move tyo feature request ?
Adding an option ?

Intended behaviour since https://bugs.limesurvey.org/view.php?id=10230 fix.

The issues : with token + answer persistence survey + allow edit : a participant can update response and set quota exceeds

Solution

  1. Check quota if reponse is submitted too (new option) : the response stay completed, quota still exceeds
  2. Allow to reset submitted to now when reloaded (by option false by default) : fix the issue BUT a lot of potential other risk

An advice ?

c_schmitz

c_schmitz

2023-04-05 10:24

administrator   ~74376

Last edited: 2023-04-05 12:00

I think it needs to be a new feature.
However, the case is very complex, so we would have to check what is the best way to implement it, so the user still understands it.
So, not for now and not critical enough to fix it.
Instead, please add a note to the manual for the "User can update" setting that this may conflict with quotas.

DenisChenu

DenisChenu

2023-04-05 12:41

developer   ~74383

OK,

I like the option 2 as new feature : this fix another issues (with answer persistence and allow update)

For example

  • Do you want to answer to group1 (with a lot of mandatory question) : token participant check NO
  • Token participant submit a validated survey
  • Token participant reload and set Y to Do you want to answer to group1 : response show as submitted, but it's an invalid response.
DenisChenu

DenisChenu

2023-04-07 17:15

developer   ~74424

Please : review my english …
https://manual.limesurvey.org/Survey_quotas#Quota_and_tokens

DenisChenu

DenisChenu

2023-04-07 17:16

developer   ~74425

in grammar review ;)

DenisChenu

DenisChenu

2023-04-07 17:21

developer   ~74426

This one too : https://manual.limesurvey.org/Participant_settings#Allow_multiple_responses_or_update_responses_with_one_token

gabrieljenik

gabrieljenik

2023-04-10 16:08

manager   ~74440

You say

When a response is submitted quota are not checked at all, then a participant can update own response and set a value out of quota.

right?

I believe you mean "After being submitted, when a response is being edited" right?

DenisChenu

DenisChenu

2023-04-11 09:29

developer   ~74445

I believe you mean "After being submitted, when a response is being edited" right?

Yes, but need a more complete sentence ?

gabrieljenik

gabrieljenik

2023-04-11 21:08

manager   ~74464

When a response is submitted quota are not checked at all, then a participant can update own response and set a value out of quota.

Could be changed to

After being submitted, when a response is being edited, quotas are not checked at all. Then a participant can update own response and set a value out of quota.

DenisChenu

DenisChenu

2023-04-12 08:20

developer   ~74467

Updated , but please : do,
You know my english is not the best :)

https://manual.limesurvey.org/Survey_quotas#When_response_is_submitted

Issue History

Date Modified Username Field Change
2023-02-18 15:48 Waterlijn New Issue
2023-02-18 15:48 Waterlijn File Added: Settings.png
2023-02-18 15:48 Waterlijn File Added: question.png
2023-02-18 15:48 Waterlijn File Added: quota.png
2023-02-18 15:48 Waterlijn File Added: limesurvey_survey_877633 (1).lss
2023-03-09 15:01 gabrieljenik Status new => acknowledged
2023-03-14 16:02 gabrieljenik Status acknowledged => confirmed
2023-03-14 16:03 gabrieljenik Note Added: 74112
2023-03-14 16:03 gabrieljenik Bug heat 0 => 2
2023-03-14 16:13 DenisChenu Note Added: 74114
2023-03-14 16:13 DenisChenu Bug heat 2 => 4
2023-03-14 16:14 DenisChenu Assigned To => DenisChenu
2023-03-14 16:14 DenisChenu Status confirmed => new
2023-03-14 16:14 DenisChenu Status new => assigned
2023-03-14 16:22 DenisChenu Note Added: 74115
2023-03-14 16:23 DenisChenu Relationship added related to 10230
2023-03-14 16:23 DenisChenu Note Added: 74116
2023-03-14 16:46 gabrieljenik Note Added: 74117
2023-03-15 15:42 DenisChenu Note Added: 74121
2023-03-15 15:42 DenisChenu File Added: Capture d’écran du 2023-03-15 15-40-50.png
2023-04-04 19:09 DenisChenu Assigned To DenisChenu => ollehar
2023-04-04 19:09 DenisChenu Status assigned => feedback
2023-04-04 19:09 DenisChenu Note Added: 74371
2023-04-05 10:24 c_schmitz Note Added: 74376
2023-04-05 10:24 c_schmitz Bug heat 4 => 6
2023-04-05 10:24 c_schmitz Status feedback => assigned
2023-04-05 10:30 c_schmitz Assigned To ollehar => DenisChenu
2023-04-05 12:00 c_schmitz Note Edited: 74376
2023-04-05 12:00 c_schmitz Note Edited: 74376
2023-04-05 12:41 DenisChenu Note Added: 74383
2023-04-07 17:15 DenisChenu Assigned To DenisChenu => c_schmitz
2023-04-07 17:15 DenisChenu Note Added: 74424
2023-04-07 17:15 DenisChenu Status assigned => in code review
2023-04-07 17:16 DenisChenu Note Added: 74425
2023-04-07 17:21 DenisChenu Note Added: 74426
2023-04-10 16:08 gabrieljenik Note Added: 74440
2023-04-11 09:29 DenisChenu Note Added: 74445
2023-04-11 21:08 gabrieljenik Note Added: 74464
2023-04-12 08:20 DenisChenu Note Added: 74467