View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18396 | Bug reports | Survey editing | public | 2022-10-04 15:02 | 2026-10-13 21:46 |
| Reporter | gabrieljenik | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | won't fix | ||
| 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 | 4 | ||||
| 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 | ||||
| Git branch / Pull Request URL | |||||
| related to | 18323 | closed | gabrieljenik | When copying a question with sub-questions, the sub-questions are not copied |
|
But parent_qid came from current situation here. You can not set a parent_qid from 0/empty to 123 |
|
|
The cause is real, but no current code path triggers it. |
|
| 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 |
| 2026-10-13 21:46 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-13 21:46 | c_schmitz | Status | confirmed => closed |
| 2026-10-13 21:46 | c_schmitz | Resolution | open => won't fix |
| 2026-10-13 21:46 | c_schmitz | Note Added: 86440 | |
| 2026-10-13 21:46 | c_schmitz | Bug heat | 2 => 4 |