View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16667 | Bug reports | Plugins | public | 2020-09-14 12:56 | 2021-04-23 15:17 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 4.1.17 | Fixed in Version | 4.3.15 | ||
Summary | 16667: Unable to update format (A,G,Q) or index (full, etc ) by plugin | ||||
Description | |||||
Steps To Reproduce | |||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 4.3.14 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | not relevant | ||||
Webserver software & version (if known) | not relevant | ||||
PHP Version | not relevant | ||||
related to | 16460 | closed | DenisChenu | Unable to update format (A,G,Q) or index (full, etc ) by plugin |
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30458 |
|
https://github.com/LimeSurvey/LimeSurvey/commit/942d0f20d0a006c229e92416e676dbb77fe67d66 |
|
Hi Denis.. Thanx... https://github.com/LimeSurvey/LimeSurvey/blob/3.x-LTS/application/models/Survey.php |
|
I never try …
The way to set with event |
|
in 4.x the survey-object contains the array 'aOptions' and 'oOptions I think it has something to do with Twig (twig likes array instead of object?) We use 4.x so both are there (luxury) |
|
It's NOT to update options, is to update property |
|
Where what line ? Really don't think in afterFind … |
|
https://github.com/LimeSurvey/LimeSurvey/commit/942d0f20d0a006c229e92416e676dbb77fe67d66 this is the 4.x fix/feature today https://github.com/LimeSurvey/LimeSurvey/commit/408683da06de984ecf3fa360b0779bd75e36fab9 This is the 3.x fix/feature couple of month ago And I noticed when left out,, aOptions is not set! But this happens in 4.x (confusing!) So the question is: why $this->setOptions($this->gsid); in 4.x and not in 3.x? |
|
Never seen setOptions |
|
hard to explain: lime4x = https://github.com/LimeSurvey/LimeSurvey/blob/942d0f20d0a006c229e92416e676dbb77fe67d66/application/models/Survey.php Mabey there is nothing wrong.. but there is a difference! |
|
LimeSurvey 4 have inherited value, not 3 :) I never use setOptions … See with |
|
the event-object contains 'surveyid' I also found this in beforeRegister event (although that is a realy old one and the manual states surveyid correctly) All other event-objects contain: 'surveyId' So maybe change surveyid to surveyId ? Both in 3.x and 4.x |
|
I think i already reported this issue :) There are one event receiving survey for surveyId … |
|
Fixed in Release 4.3.16+200915 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-14 12:56 | DenisChenu | New Issue | |
2020-09-14 12:56 | DenisChenu | Status | new => assigned |
2020-09-14 12:56 | DenisChenu | Assigned To | => DenisChenu |
2020-09-14 12:56 | DenisChenu | Relationship added | related to 16460 |
2020-09-14 12:59 | DenisChenu | Changeset attached | => LimeSurvey master 942d0f20 |
2020-09-14 12:59 | DenisChenu | Note Added: 59786 | |
2020-09-14 12:59 | DenisChenu | Resolution | open => fixed |
2020-09-14 13:00 | DenisChenu | Status | assigned => resolved |
2020-09-14 13:00 | DenisChenu | Fixed in Version | => 4.3.15 |
2020-09-14 13:00 | DenisChenu | Note Added: 59787 | |
2020-09-14 13:13 | asshank | Note Added: 59788 | |
2020-09-14 18:30 | DenisChenu | Note Added: 59791 | |
2020-09-14 18:57 | asshank | Note Added: 59793 | |
2020-09-14 19:40 | DenisChenu | Note Added: 59794 | |
2020-09-14 19:40 | DenisChenu | Note Added: 59795 | |
2020-09-14 19:51 | asshank | Note Added: 59796 | |
2020-09-14 20:25 | DenisChenu | Note Added: 59797 | |
2020-09-14 20:50 | asshank | Note Added: 59798 | |
2020-09-14 20:50 | asshank | File Added: lime3x.png | |
2020-09-14 20:50 | asshank | File Added: lime4x.png | |
2020-09-15 08:12 | DenisChenu | Note Added: 59803 | |
2020-09-15 09:17 | asshank | Note Added: 59805 | |
2020-09-15 09:35 | DenisChenu | Note Added: 59806 | |
2020-09-15 11:01 | lime_release_bot | Note Added: 59807 | |
2020-09-15 11:01 | lime_release_bot | Status | resolved => closed |
2021-04-23 15:17 | gabrieljenik | Sync to Zoho Project | => |Yes| |