View Issue Details

IDProjectCategoryView StatusLast Update
17262Development Otherpublic2021-04-26 19:17
Reportergabrieljenik Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Summary17262: Create new getQuestionAttributes() endpoint for LimesurveyAPI which is used by plugins
DescriptionWe need to enhance the LimesurveyAPI class as to allow plugins to query LS without using the models directly, but using the API endpoint. The reason behind that is keep a stable interface facing the pluins, while giving more flexibility to the LS inner engine.

Some methods are already there, like getQuestions.
Some of them, as getQuestionAttributes() are missing and then, QuestionAttribute model is used directly, which we want to avoid.
TagsNo tags attached.

Relationships

related to 17261 reviewgabrieljenik Create new code artifacts to handle QuestionAttributes fetching (& saving) 

Activities

Related Changesets

LimeSurvey: master 44771128

2021-04-26 18:30:39

gabrieljenik


Committer: GitHub Details Diff
New feature 17262: Create new getQuestionAttributes() endpoint for Limesurvey API (#1857)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17262
mod - application/libraries/PluginManager/LimesurveyApi.php Diff File
add - tests/data/surveys/limesurvey_survey_QuestionAttributeTestSurvey.lss Diff File
add - tests/functional/backend/LimesurveyApiTest.php Diff File
mod - tests/functional/backend/QuestionAttributeTest.php Diff File

Issue History

Date Modified Username Field Change
2021-04-20 17:38 gabrieljenik New Issue
2021-04-20 17:38 gabrieljenik Status new => assigned
2021-04-20 17:38 gabrieljenik Assigned To => gabrieljenik
2021-04-20 17:38 gabrieljenik Issue generated from: 17261
2021-04-20 17:38 gabrieljenik Relationship added related to 17261
2021-04-23 15:38 gabrieljenik Note Added: 64132
2021-04-23 15:39 gabrieljenik Status assigned => testing
2021-04-26 18:30 gabrieljenik Changeset attached => LimeSurvey master 44771128
2021-04-26 18:30 gabrieljenik Note Added: 64161
2021-04-26 18:30 gabrieljenik Resolution open => fixed
2021-04-26 19:17 ollehar Status testing => resolved