View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20287Bug reportsQuestion editorpublic2025-10-08 08:43
Reporterriku Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status confirmedResolutionopen 
Summary20287: The Attribute advanced setting category for questions is not unset for languages other than English.
Description

The Attribute advanced setting cateogry is only unset if the page is displayed in English (or likely also if the translation of the word Attribute happens to also be Attribute).

The exact issue in code is in application/controllers/QuestionAdministrationController.php on line 2424: unset($advancedSettings['Attribute']);
Since the category name (Attribute) is translated at this point, it remains in the advanced settings list. See steps for reproducing below.

Steps To Reproduce

Steps to reproduce

  1. Ensure that you are using LimeSurvey in a language other than English. French, for example.
  2. Attempt to edit a question in a survey.
  3. Pay attention to the list of advanced setting categories on the right hand side.

Expected result

The Attribute (Attribut in French) setting category isn't added to the list. Mind you this is the case when English is used (see english.png).

Actual result

The Attribute setting category is displayed in all languages where the translation of the word "Attribute" doesn't match "Attribute". See french.png.

TagsNo tags attached.
Attached Files
english.png (56,408 bytes)   
english.png (56,408 bytes)   
french.png (100,699 bytes)
Bug heat4
Complete LimeSurvey version number (& build)6.15.14
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache
PHP Version8.3.25

Users monitoring this issue

There are no users monitoring this issue.

Activities

riku

riku

2025-10-08 08:23

reporter   ~83566

I also created a PR to solve this: https://github.com/LimeSurvey/LimeSurvey/pull/4470

DenisChenu

DenisChenu

2025-10-08 08:43

developer   ~83567

Confirm the issue

Issue History

Date Modified Username Field Change
2025-10-08 08:21 riku New Issue
2025-10-08 08:21 riku File Added: english.png
2025-10-08 08:21 riku File Added: french.png
2025-10-08 08:23 riku Note Added: 83566
2025-10-08 08:23 riku Bug heat 0 => 2
2025-10-08 08:43 DenisChenu Assigned To => DenisChenu
2025-10-08 08:43 DenisChenu Status new => confirmed
2025-10-08 08:43 DenisChenu Note Added: 83567
2025-10-08 08:43 DenisChenu Bug heat 2 => 4