View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19592Bug reportsSpeed optimizationpublic2024-06-07 12:03
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.5.x 
Summary19592: EMCache are not resetted for question_attribute
Description

When activate EMCache (forced to have it for debug) updating question attribute do nothing for public survey

Steps To Reproduce

Steps to reproduce

In config.php

        'emcache' => array(
            'class' => 'CFileCache'
        ),

and

    'config'=>array(
        'debug'=>2,
        'debugsql'=>1, // Set this to 1 to enanble sql logging, only active when debug = 2
         'mysqlEngine' => 'MYISAM',
        // Update default LimeSurvey config here
        'force_emcache' => true,
    )

Import included survey
Activate, launch
Move next submlit
Via admin: update and set second question to hidden
Copy link and open in a new browser
Next

Expected result

2nd question is hidden

Actual result

2nd question are shown

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)6.5.11
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 19591 new Multiple call of question_attribute for single question (public surey) 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-06-07 12:03

developer   ~80254

We never reset 'getQuestionAttributes' . $iQuestionID . '' . json_encode($sLanguage); cache key

https://github.com/LimeSurvey/LimeSurvey/blob/e746adcda154109c9cefb5494d4e803f29ba5f5a/application/models/QuestionAttribute.php#L238

Issue History

Date Modified Username Field Change
2024-06-07 12:01 DenisChenu New Issue
2024-06-07 12:01 DenisChenu File Added: limesurvey_survey_995212_testQuestionAttribute.lss
2024-06-07 12:01 DenisChenu Relationship added related to 19591
2024-06-07 12:03 DenisChenu Note Added: 80254
2024-06-07 12:03 DenisChenu Bug heat 0 => 2