View Issue Details

IDProjectCategoryView StatusLast Update
16669Bug reportsPluginspublic2020-09-15 15:29
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.3.16 
Summary16669: getQuestionAttributes function don't get the plugins attribute
Description

The getQuestionAttributes are not compatible with plugins Question Attribute

Steps To Reproduce
  1. Download and activate https://gitlab.com/SondagesPro/QuestionSettingsType/addScriptToQuestion
  2. Login in 3.X as super admin, import included lss : see "It work" in help
  3. Login in 4.X as super admin, import included lss : see "The addScriptToQuestion plugin didn't work." in help.
Additional Information

https://gitlab.com/SondagesPro/QuestionSettingsType/addScriptToQuestion/-/blob/master/addScriptToQuestion.php#L64

QuestionAttribute::model()->getQuestionAttributes seems to return only core attribute ?
I didn't check with a Question Theme

TagsNo tags attached.
Complete LimeSurvey version number (& build)4.3.15
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 15224 resolvedp_teichmann newQuestionAttributes deprecated : need a replacer 

Activities

DenisChenu

DenisChenu

2020-09-15 15:14

developer  

Issue History

Date Modified Username Field Change
2020-09-15 15:14 DenisChenu New Issue
2020-09-15 15:14 DenisChenu File Added: limesurvey_survey_addScriptToQuestion.lss
2020-09-15 15:29 DenisChenu Relationship added related to 15224