View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18396 | Bug reports | Survey editing | public | 2022-10-04 15:02 | 2022-10-04 15:19 |
Reporter | gabrieljenik | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | confirmed | Resolution | open | ||
Product Version | 5.3.x | ||||
Summary | 18396: Quesiton model: Validators created by rules are not refreshed when attributes change | ||||
Description | Caught while reviewing 18323 When using attribute assignments (as it was fixed on 18323), validators are loaded before setting the attributes. Some rules need to be changed to validator functions as to be able to react dynamically to changes in the attributes, as opposed to how currently is done, statically when creating validators. It is to highlight that validators, once created, are not refreshed. | ||||
Steps To Reproduce | Same as in 18323 Ex rule to be refactored: models/Question.php
| ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 5.3.30 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Opera | ||||
Database type & version | mariadb Ver 15.1 Distrib 10.4.25-MariaDB, for Linux (x86_64) using readline 5.1 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.4 | ||||
related to | 18323 | closed | gabrieljenik | When copying a question with sub-questions, the sub-questions are not copied |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-04 15:02 | gabrieljenik | New Issue | |
2022-10-04 15:02 | gabrieljenik | Issue generated from: 18323 | |
2022-10-04 15:02 | gabrieljenik | Relationship added | related to 18323 |
2022-10-04 15:04 | gabrieljenik | Status | new => confirmed |
2022-10-04 15:19 | DenisChenu | Note Added: 72082 | |
2022-10-04 15:19 | DenisChenu | Bug heat | 0 => 2 |