View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17713Bug reportsSurvey editingpublic2022-01-05 09:36
Reportervitautss Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.x 
Summary17713: "?>" shown instead of template name in Survey general settings if user has no theme permissions
Description

If user has no theme permissions in dashboard Survey general settings "?>" is shown instead of theme name.

Steps To Reproduce

Steps to reproduce

Create user with no theme permissions.
Create new survey.
Look at Theme value in Survey general settings.

Expected result

See theme name.

Actual result

See "?>"

TagsNo tags attached.
Attached Files
2021-11-10_19-48.png (14,672 bytes)   
2021-11-10_19-48.png (14,672 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)5.1.15+211011
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 8.0
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2021-11-11 10:16

administrator   ~67245

https://github.com/LimeSurvey/LimeSurvey/pull/2140

guest

guest

2021-11-12 11:04

viewer   ~67276

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=32953

LimeBot

LimeBot

2022-01-05 09:36

administrator   ~67916

Fixed in Release 5.2.2+211115

Related Changesets

LimeSurvey: master 6ad29121

2021-11-12 11:04:54

vitautss


Committer: GitHub Details Diff
Fixed issue 17713: broken theme name in Survey general settings (#2140)

Dev Theme name was broken if user has no permissions on themes. Fixed some strange PHP code in TWIG template
and changed variable name to display actual theme name.
Affected Issues
17713
mod - application/views/admin/survey/subview/surveydashboard/004-generalsettingspanel.twig Diff File

Issue History

Date Modified Username Field Change
2021-11-10 19:09 vitautss New Issue
2021-11-10 19:09 vitautss File Added: 2021-11-10_19-48.png
2021-11-11 09:42 galads Assigned To => galads
2021-11-11 09:42 galads Status new => confirmed
2021-11-11 10:16 c_schmitz Note Added: 67245
2021-11-11 10:16 c_schmitz Bug heat 0 => 2
2021-11-11 10:16 c_schmitz Status confirmed => ready for code review
2021-11-11 10:16 c_schmitz Status ready for code review => ready for testing
2021-11-11 10:16 c_schmitz Zoho Project Synchronization => |Yes|
2021-11-12 11:04 vitautss Changeset attached => LimeSurvey master 6ad29121
2021-11-12 11:04 guest Note Added: 67276
2021-11-12 11:04 guest Bug heat 2 => 4
2022-01-05 09:36 LimeBot Zoho Project Synchronization Yes => |Yes|
2022-01-05 09:36 LimeBot Note Added: 67916
2022-01-05 09:36 LimeBot Status ready for testing => closed
2022-01-05 09:36 LimeBot Resolution open => fixed
2022-01-05 09:36 LimeBot Bug heat 4 => 6