View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
11570Feature requestsOtherpublic2016-08-25 09:28
Reportervkuzmin Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary11570: Its possible to exceed the quota
Description

Quotas with non zero limits should be checked again after the last question before limesurvey mark answer as compleate. Becouse you can get negative values in the remaining field if more then one people do the same survey at he same time.

Steps To Reproduce
  1. Make survey with any non zero quota.
  2. Make sure that you have small number on the remaining answers in any quota.
  3. Open that survey in multiple browsers, computers, or normal and incognito modes.
  4. Proceed past that question with the quota but dont send your last answer.
  5. Compleate that survey.
Additional Information

Its really bad issue.

TagsNo tags attached.
Attached Files
Quotas bug.png (23,558 bytes)   
Quotas bug.png (23,558 bytes)   
Bug heat6
Story point estimate
Users affected %

Users monitoring this issue

vkuzmin

Activities

DenisChenu

DenisChenu

2016-08-23 17:36

developer   ~40401

It's not really an bug : we test POSTED value. It's an old issue hard to fix (hard to find the best way)

In fact : starting by quota : we only test POSTED value. Still used actually : we can not opt out an user After he was answered.

In fact : this need more option in Quota.

vkuzmin

vkuzmin

2016-08-23 18:07

reporter   ~40402

Last edited: 2016-08-23 18:10

"we can not opt out an user After he was answered." Really sad.
I see only one way to deal with it right now: i should add ALL non-zero quotas twice. First time as usual. Second time right aftrer last visible question i'l use equations to copy ALL important question's values to new hidden questions and check them again with new quotas. A lot of work every time...

DenisChenu

DenisChenu

2016-08-23 18:11

developer   ~40403

Yes : i think we need a new feature :
Quota type : Only POST (less than actually) / basis (POSTED for viewed question, not posted for hidden) / enforced : test whole quota.

More a Feature Request here. If quota can be moved in plugin, it can be easily (but quota are hard to move in plugin actually).

vkuzmin

vkuzmin

2016-08-24 15:34

reporter   ~40458

Last edited: 2016-08-24 15:36

As feauture request its better to have a way to show current quota's remaining. Something like {QUOTA:QUOTA_NAME}. With that feature it's easy to check all neccesary qoutas in one equuation with one yes/no question:
{FinalQuotaCheck=if(QUOTA:Gender>0 AND QUOTA:Age>0 AND QUOTA:Product>0,"Y","N")

Is that feature easier to add?

vkuzmin

vkuzmin

2016-08-25 09:22

reporter   ~40476

I'm sorry, but "Severity: @50@" looks uncommon

DenisChenu

DenisChenu

2016-08-25 09:28

developer   ~40477

Update to feature.

Issue History

Date Modified Username Field Change
2016-08-22 19:38 vkuzmin New Issue
2016-08-22 19:38 vkuzmin File Added: limesurvey_survey_684388 (2).lss
2016-08-22 19:39 vkuzmin Issue Monitored: vkuzmin
2016-08-22 19:39 vkuzmin File Added: Quotas bug.png
2016-08-23 17:36 DenisChenu Note Added: 40401
2016-08-23 18:07 vkuzmin Note Added: 40402
2016-08-23 18:08 vkuzmin Note Edited: 40402
2016-08-23 18:09 vkuzmin Note Edited: 40402
2016-08-23 18:10 vkuzmin Note Edited: 40402
2016-08-23 18:11 DenisChenu Note Added: 40403
2016-08-24 10:00 c_schmitz Project Bug reports => Feature requests
2016-08-24 15:34 vkuzmin Note Added: 40458
2016-08-24 15:34 vkuzmin Note Edited: 40458
2016-08-24 15:36 vkuzmin Note Edited: 40458
2016-08-24 15:36 vkuzmin Note Edited: 40458
2016-08-25 09:22 vkuzmin Note Added: 40476
2016-08-25 09:28 DenisChenu Severity @50@ => feature
2016-08-25 09:28 DenisChenu Product Version 2.50.x =>
2016-08-25 09:28 DenisChenu Note Added: 40477