View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
10051Feature requestsConditionspublic2016-06-06 15:41
Reporteruser14106Assigned ToDenisChenu  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Target Version2.5+Fixed in Version2.5+ 
Summary10051: enable / disable quotas
Description

It would be good to be enable / disable qoutas instead of add /delete.

Very often we need to adjust qoutas dynamically during the data collection. Sometimes we need to apply one specifiq quota for a specific period - and then carry on with same quotas as before.

In general It can be done with adjusting quota amount, but it would make more easy to enable/disable quotas.

Also. At the end of the project - it would be good to see all quotas that we have used during the project. Currently whan I remove some restrictions at final stages of survey I have no record saved of what I have used during data collection. I would prefer disable instead of delete.

I see that the lime_quota entity already has an attribute "active" but I can not find any record of this actually being used?

BTW: I would appreciate if anybody could refer the model/method or controller where the quota checking takes place in the code.

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Relationships

related to 09816 new Using quotas to prevent new entries 
related to 10177 new have a checkbox on Survey settings to to enforce or not checking quota 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-11-20 15:33

developer   ~33615

It's in https://github.com/LimeSurvey/LimeSurvey/pull/365
https://github.com/LimeSurvey/LimeSurvey/pull/365/files#diff-4f4265af29f654380fbda47407b84a09R1929

DenisChenu

DenisChenu

2015-12-10 08:49

developer   ~33838

2.50 is still in alpha actually, and quota system GUI is broken ...

c_schmitz

c_schmitz

2016-05-12 11:14

administrator   ~38450

As agreed please commit now. Thank you!

DenisChenu

DenisChenu

2016-05-12 11:36

developer   ~38457

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=18986

Related Changesets

LimeSurvey: master 0bd419f2

2016-05-12 11:36

DenisChenu


Details Diff
New feature 10051: enable / disable quotas
Dev: adding management of unused active attribute. Set to 1 by default
Dev: set all old quota active: this can be 0 when importing an hacked lss file
Affected Issues
10051
mod - application/config/version.php Diff File
mod - application/controllers/admin/quotas.php Diff File
mod - application/helpers/frontend_helper.php Diff File
mod - application/helpers/update/updatedb_helper.php Diff File
mod - application/models/Quota.php Diff File
mod - application/views/admin/quotas/editquota_view.php Diff File
mod - application/views/admin/quotas/editquotalang_view.php Diff File
mod - application/views/admin/quotas/newquota_view.php Diff File

Issue History

Date Modified Username Field Change
2015-11-19 13:43 user14106 New Issue
2015-11-20 15:33 DenisChenu Note Added: 33615
2015-11-20 15:33 DenisChenu Relationship added related to 09816
2015-12-03 15:49 DenisChenu Target Version => 2.05+
2015-12-03 15:51 DenisChenu Target Version 2.05+ => 3.0
2015-12-10 08:49 DenisChenu Note Added: 33838
2015-12-22 14:36 DenisChenu Target Version 3.0 => 2.5+
2015-12-22 14:37 DenisChenu Relationship added related to 10177
2016-05-08 17:43 DenisChenu Relationship replaced duplicate of 10177
2016-05-08 17:43 DenisChenu Status new => closed
2016-05-08 17:43 DenisChenu Assigned To => DenisChenu
2016-05-08 17:43 DenisChenu Resolution open => duplicate
2016-05-08 17:43 DenisChenu Fixed in Version => 2.5+
2016-05-09 10:43 DenisChenu Assigned To DenisChenu =>
2016-05-09 10:43 DenisChenu Status closed => feedback
2016-05-09 10:43 DenisChenu Resolution duplicate => reopened
2016-05-09 10:43 DenisChenu Status feedback => closed
2016-05-09 10:43 DenisChenu Resolution reopened => duplicate
2016-05-09 10:43 DenisChenu Fixed in Version 2.5+ =>
2016-05-12 10:10 DenisChenu Assigned To => DenisChenu
2016-05-12 10:10 DenisChenu Status closed => feedback
2016-05-12 10:10 DenisChenu Resolution duplicate => reopened
2016-05-12 10:11 DenisChenu Relationship deleted 10177
2016-05-12 10:11 DenisChenu Relationship added related to 10177
2016-05-12 10:11 DenisChenu Status feedback => assigned
2016-05-12 11:14 c_schmitz Note Added: 38450
2016-05-12 11:36 DenisChenu Changeset attached => LimeSurvey master 0bd419f2
2016-05-12 11:36 DenisChenu Note Added: 38457
2016-05-12 11:37 DenisChenu Status assigned => resolved
2016-05-12 11:37 DenisChenu Fixed in Version => 2.5+
2016-05-12 11:37 DenisChenu Resolution reopened => fixed
2016-06-06 15:41 c_schmitz Status resolved => closed