number of complitions for quota could be set bigger than sample size
Bug #1472594 reported by
Alex
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
queXS |
Confirmed
|
Low
|
Unassigned |
Bug Description
in quotarow.php it's possible to set any value for number of complitions , EVEN NEGATIVE
guess requires some DB table field setting ajustment and extra querry/
currently fixed with adding "artificial" limits to input field attributes:
<input name="completions" id="completions" min="0" max="1000"size="6" maxlength="6" style="width:6em;" required type="number">
summary: |
- number of complitions for quota could exceed sample + number of complitions for quota could be set bigger than sample size |
description: | updated |
tags: | added: quotas |
To post a comment you must log in.
You are right Alex - quota completions are not currently validated.
I think for the mainline it would be best if no artificial limits were imposed as this could be misleading. As applying quotas is a bit of an "Advanced" feature and the inputted result is displayed in the quota reports, I think for now it will be fine to leave unvalidated until a meaningful validation function is implemented (such as maximum available records)