View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20730 | Bug reports | Encryption | public | 2026-09-28 09:30 | 2026-10-13 11:49 |
| Reporter | tibor.pacalat | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 7.3.x | ||||
| Summary | 20730: Quotas are not working on encrypted questions | ||||
| Description | I noticed that if I have a quota on encrypted question it does not trigger as expected. | ||||
| Steps To Reproduce | Steps to reproduce
Expected resultQuota should work on encrypted question the same as on non encrypted one. Actual resultQuota doesn't work on encrypted question. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 12 | ||||
| Complete LimeSurvey version number (& build) | 7.3.0+260922 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | . | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | . | ||||
| has duplicate | 20731 | closed | tibor.pacalat | Quotas are not working on encrypted questions |
Not if you use real encryption! (in maybe next release) (can be added, but only after this one is merged!) |
|
|
@DenisChenu Is it fixed in #19645 ? |
|
|
No, I didn't touch at qiota. Quotas cannot be applied to encrypted questions when hardened encryption is enabled. They can be only supported with simple encryption. For simple encryption, the fix is trivial. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40793 |
|
|
(I must update the PR for hardened crypt method now ...) |
|
|
Fixed in Release 7.6.0+261013 |
|
|
LimeSurvey: master 9b20f012 2026-10-12 16:03 Details Diff |
Fixed issue 20730: Quotas on encrypted questions never triggered Dev Quota::getCompleteCount() compared the plain answer code against the encrypted response column, so the count was always 0; it now compares against the encrypted value |
Affected Issues 20730 |
|
| mod - application/models/Quota.php | Diff File | ||
| add - tests/unit/models/QuotaEncryptedCompleteCountTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-09-28 09:30 | tibor.pacalat | New Issue | |
| 2026-09-28 09:30 | tibor.pacalat | File Added: survey_archive_542957.lsa | |
| 2026-09-28 09:45 | DenisChenu | Note Added: 86031 | |
| 2026-09-28 09:45 | DenisChenu | Bug heat | 0 => 2 |
| 2026-09-28 09:46 | DenisChenu | Relationship added | has duplicate 20731 |
| 2026-09-28 09:46 | DenisChenu | Bug heat | 2 => 8 |
| 2026-10-12 11:35 | c_schmitz | Note Added: 86332 | |
| 2026-10-12 11:35 | c_schmitz | Bug heat | 8 => 10 |
| 2026-10-12 11:35 | c_schmitz | Note Edited: 86332 | |
| 2026-10-12 11:44 | c_schmitz | Status | new => confirmed |
| 2026-10-12 13:44 | DenisChenu | Note Added: 86336 | |
| 2026-10-12 16:03 | c_schmitz | Changeset attached | => LimeSurvey master 9b20f012 |
| 2026-10-12 16:03 | c_schmitz | Note Added: 86340 | |
| 2026-10-12 16:03 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-12 16:03 | c_schmitz | Status | confirmed => resolved |
| 2026-10-12 16:03 | c_schmitz | Resolution | open => fixed |
| 2026-10-12 16:59 | DenisChenu | Note Added: 86342 | |
| 2026-10-13 11:49 | LimeBot | Note Added: 86366 | |
| 2026-10-13 11:49 | LimeBot | Status | resolved => closed |
| 2026-10-13 11:49 | LimeBot | Bug heat | 10 => 12 |