View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
18906Bug reportsTheme editorpublic2024-04-02 14:05
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version5.6.x 
Summary18906: Unable to fix or edit survey with UpperCase template name
Description

If you have a template with a name in lowercase try to import a survey with uppercase goes to a 500 error. And it's not fixable.

Steps To Reproduce

Steps to reproduce

complete
Create a theme UpperCase
Create a survey using UpperCase theme
Export this survey
rename UpperCase to Uppercase
Import exported survey : get a 500 error

Quick
Create a theme with name : uppercaseissue
Import included lss

Expected result

Name was fixed to default OR to Uppercase

Actual result

500 error , no clean way to fix.

TagsNo tags attached.
Attached Files
Bug heat10
Complete LimeSurvey version number (& build)5.6.25 (and surely 3.X and 6.X)
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)Linux
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 18907 new Multiple theme with same name 
related to 18969 closedDenisChenu After update to 6.1.8/Git version : all survey are broken and no way to fix it 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-06-22 17:47

developer   ~75806

A way to fix is to copy/extend Uppercase to UpperCase theme

But then : have other errors …

DenisChenu

DenisChenu

2023-07-28 10:23

developer   ~76324

Debug 0 when just try to see survey

DenisChenu

DenisChenu

2023-07-28 17:45

developer   ~76352

5.X : https://github.com/LimeSurvey/LimeSurvey/pull/3316

I do master after review are OK

gabrieljenik

gabrieljenik

2023-07-31 13:08

manager   ~76365

5.X : https://github.com/LimeSurvey/LimeSurvey/pull/3316

This was closed. Not sure why

DenisChenu

DenisChenu

2023-07-31 14:14

developer   ~76367

Assigned to Patrick who close the PR

p_teichmann

p_teichmann

2023-07-31 16:51

administrator   ~76375

Wasn't intentional, please see git PR for info.

DenisChenu

DenisChenu

2023-07-31 18:17

developer   ~76385

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

tibor.pacalat

tibor.pacalat

2024-03-07 14:53

administrator   ~79757

@DenisChenu the PR is still open, can you try to move this forward?

DenisChenu

DenisChenu

2024-03-07 15:44

developer   ~79758

Oh yes : and more https://github.com/LimeSurvey/LimeSurvey/pull/3319#issuecomment-1945845935

DenisChenu

DenisChenu

2024-03-07 15:45

developer   ~79759

And need decision :

  1. Are ThemeName and themename are a different theme : Yes/no
  2. It can not be a different theme on windows server
DenisChenu

DenisChenu

2024-03-07 16:14

developer   ~79760

I made the decision.

tibor.pacalat

tibor.pacalat

2024-03-07 16:22

administrator   ~79761

And need decision :

Are ThemeName and themename are a different theme : Yes/no
It can not be a different theme on windows server

Since we want this to function the same across different platforms, we should make it so that ThemeName and themename are the same.

DenisChenu

DenisChenu

2024-03-08 08:24

developer   ~79763

Since we want this to function the same across different platforms, we should make it so that ThemeName and themename are the same.

I report the issue separately (allow to copy a theme with same name except case) , it broke if you try to do this.

DenisChenu

DenisChenu

2024-03-15 17:45

developer   ~79798

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

LimeBot

LimeBot

2024-04-02 14:05

administrator   ~79858

Fixed in Release 5.6.58+240403

Related Changesets

LimeSurvey: 5.x 6e44a135

2024-03-15 18:43

DenisChenu

Committer: GitHub


Details Diff
Fixed issue 18906: Unable to fix or edit survey with UpperCase templ… (#3319) Affected Issues
18906
mod - application/models/Template.php Diff File

Issue History

Date Modified Username Field Change
2023-06-22 17:46 DenisChenu New Issue
2023-06-22 17:46 DenisChenu File Added: limesurvey_survey_UpperCaseIssue.lss
2023-06-22 17:47 DenisChenu Severity minor => crash
2023-06-22 17:47 DenisChenu Note Added: 75806
2023-06-22 17:47 DenisChenu Bug heat 0 => 2
2023-06-22 17:47 DenisChenu Server OS (if known) not relevant => Linux
2023-07-20 14:59 DenisChenu Relationship added related to 18969
2023-07-28 10:16 DenisChenu Assigned To => DenisChenu
2023-07-28 10:16 DenisChenu Status new => assigned
2023-07-28 10:23 DenisChenu Note Added: 76324
2023-07-28 10:23 DenisChenu File Added: Capture d’écran du 2023-07-28 10-22-01.png
2023-07-28 10:27 DenisChenu Relationship added related to 18907
2023-07-28 17:45 DenisChenu Note Added: 76352
2023-07-28 17:45 DenisChenu Assigned To DenisChenu => gabrieljenik
2023-07-28 17:45 DenisChenu Status assigned => ready for code review
2023-07-31 13:08 gabrieljenik Note Added: 76365
2023-07-31 13:08 gabrieljenik Bug heat 2 => 4
2023-07-31 13:08 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-07-31 14:13 DenisChenu Assigned To DenisChenu => p_teichmann
2023-07-31 14:14 DenisChenu Note Added: 76367
2023-07-31 14:14 DenisChenu Status ready for code review => feedback
2023-07-31 16:51 p_teichmann Note Added: 76375
2023-07-31 16:51 p_teichmann Bug heat 4 => 6
2023-07-31 16:51 p_teichmann Assigned To p_teichmann => DenisChenu
2023-07-31 16:52 p_teichmann Status feedback => ready for code review
2023-07-31 18:17 DenisChenu Note Added: 76385
2023-07-31 18:17 DenisChenu Assigned To DenisChenu => gabrieljenik
2024-03-07 14:53 tibor.pacalat Note Added: 79757
2024-03-07 14:53 tibor.pacalat Bug heat 6 => 8
2024-03-07 15:44 DenisChenu Note Added: 79758
2024-03-07 15:45 DenisChenu Note Added: 79759
2024-03-07 16:14 DenisChenu Note Added: 79760
2024-03-07 16:22 tibor.pacalat Note Added: 79761
2024-03-08 08:24 DenisChenu Note Added: 79763
2024-03-15 16:04 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2024-03-15 16:04 gabrieljenik Status ready for code review => ready for testing
2024-03-15 17:43 tibor.pacalat Status ready for testing => resolved
2024-03-15 17:43 tibor.pacalat Resolution open => fixed
2024-03-15 17:45 DenisChenu Changeset attached => LimeSurvey 5.x 6e44a135
2024-03-15 17:45 DenisChenu Note Added: 79798
2024-03-15 17:45 DenisChenu Assigned To tibor.pacalat => DenisChenu
2024-04-02 14:05 LimeBot Note Added: 79858
2024-04-02 14:05 LimeBot Status resolved => closed
2024-04-02 14:05 LimeBot Bug heat 8 => 10