View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
10375Bug reportsSurvey editingpublic2016-03-11 11:25
Reporterhalliballi123 Assigned ToLouisGac 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10375: Import of Templates not working
Description

Hallo, when I try to import Templates, it is not working.
I there is no text in the template files (in web backend)

I checked in the installationfolder if the files exist. They are there

BUT Folder structure in /limesurvey/upload/templates/TEMPLATEFOLDER looks different to "regular", pre installed Templates.

There are no subfolders, the .pstpl files are the only files in the TEMPLATEFOLDER

When I use the web backend to copy an existing template everything works fine.

Steps To Reproduce

export default template
rename zip file
import template file.

Additional Information

I had a 2.0+ version installed and did an upgrade to 2.5

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)160206
I will donate to the project if issue is resolvedNo
Browserfirefox 38.6 and internet explorer 11
Database type & versionmysql 5.0.11
Server OS (if known)linux gentoo
Webserver software & version (if known)apache
PHP Version5.5.25

Users monitoring this issue

TheVolunteer

Activities

DenisChenu

DenisChenu

2016-02-10 15:55

developer   ~34825

There are some fix for old template compatibility in next release. Myabe it's already fixed.

halliballi123

halliballi123

2016-02-10 16:13

reporter   ~34829

This is the reason why I exported the default template of the 2.5 installation and tried to import it again. But unfortunately no luck

DenisChenu

DenisChenu

2016-02-10 16:16

developer   ~34831

Oups, sorry : misunderstanding :)

halliballi123

halliballi123

2016-02-11 07:14

reporter   ~34876

No problem, maybe it was my english.

DenisChenu

DenisChenu

2016-02-11 08:43

developer   ~34878

No, i just don't read whole part .... your english is probably as good as mine :)

halliballi123

halliballi123

2016-02-12 09:27

reporter   ~34976

maybe it is not only the import.

maybe there is a more general, bigger problem with custom layouts.

  • When I copy a layout (not exporting and importing again) and then I try to change somthing, the changes are not shown in the preview.

  • however, when I actually use the template it seems to work.

  • When I want to edit imported tempates it does not work, source code is not shown ...

LouisGac

LouisGac

2016-03-09 18:05

developer   ~36236

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

c_schmitz

c_schmitz

2016-03-11 11:25

administrator   ~36382

LimeSurvey 2.50+ Build 160311 released

Related Changesets

LimeSurvey: master ac32352d

2016-03-09 17:04:58

LouisGac

Details Diff
Fixed issue 10375: Import of Templates not working Affected Issues
10375
mod - application/controllers/admin/templates.php Diff File
mod - application/views/admin/templates/importuploaded_view.php Diff File

Issue History

Date Modified Username Field Change
2016-02-10 15:08 halliballi123 New Issue
2016-02-10 15:55 DenisChenu View Status private => public
2016-02-10 15:55 DenisChenu Note Added: 34825
2016-02-10 16:13 halliballi123 Note Added: 34829
2016-02-10 16:16 DenisChenu Note Added: 34831
2016-02-10 17:19 ollehar Assigned To => LouisGac
2016-02-10 17:19 ollehar Status new => assigned
2016-02-11 07:14 halliballi123 Note Added: 34876
2016-02-11 08:43 DenisChenu Note Added: 34878
2016-02-12 09:27 halliballi123 Note Added: 34976
2016-02-20 12:14 TheVolunteer Issue Monitored: TheVolunteer
2016-03-09 18:05 LouisGac Changeset attached => LimeSurvey master ac32352d
2016-03-09 18:05 LouisGac Note Added: 36236
2016-03-09 18:05 LouisGac Resolution open => fixed
2016-03-10 09:52 LouisGac Status assigned => resolved
2016-03-11 11:23 LouisGac Fixed in Version => 2.5
2016-03-11 11:25 c_schmitz Note Added: 36382
2016-03-11 11:25 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-03 08:48 guest Bug heat 8 => 10