View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07052Bug reportsImport/Exportpublic2012-12-11 14:48
Reportermfaber Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07052: Survey ID is not imported from .lss file
Description

If a survey file (.lss) is imported, limesurvey assigns a new survey ID, even when the one from the imported survey is not used (not yet in the db).

This hinders data exchange between different machines with the same survey.

In the wiki it reads: "If you import a survey to your LimeSurvey installation the SID will (if possible) not change."

Steps To Reproduce

create new survey
change to import tab
choose a .lss file (mine is attached)
import
look at the survey ID (with my file it should be "292929" but limesurvey assigns a new one.

Additional Information

I want to use my surveys on multiple machines. On a server for online survey but also on several offline installations (XAMPP+limesurvey) for face to face without internet access (export .vv and import on main machine) and another machine with queXF. For this to work, survey IDs need to be the same on the different machines.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)121208
I will donate to the project if issue is resolvedNo
BrowserFF 16
Database type & versionmysql 5.5.27
Server OS (if known)win 7 pro
Webserver software & version (if known)Apache 2.2.3
PHP VersionPHP 5.4.7

Users monitoring this issue

mfaber

Activities

c_schmitz

c_schmitz

2012-12-09 16:32

administrator   ~23042

You are aware that having the same survey ID will not automatically have the question groups and questions have the same ID, right? So VV-import/export will only work between different machines if the database is exactly the same.

mfaber

mfaber

2012-12-09 17:11

reporter   ~23044

Thanks for your super quick reaction. I hoped data import after checking survey id would work on variable names. Now, in the wiki I saw the workaround with copying the headers of VV-files, which I guess needs to be done also when exporting a survey structure for editing in excel and importing again (all new IDs). I can do this but many other users unfortunately not...

For the exchange of data between different machines (collecting all data on one) i'll need to look for a different solution.

Still, having the same survey ID may make life easier dealing with different machines and quexf. Would be happy if a dev could look into that but totally understand if it has a "low to no priority".
Thanks again also for your previous fixes and work on this fantastic project!

c_schmitz

c_schmitz

2012-12-09 17:51

administrator   ~23046

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

c_schmitz

c_schmitz

2012-12-09 17:51

administrator   ~23047

You are welcome ;)

mfaber

mfaber

2012-12-09 18:30

reporter   ~23052

Tested...works...thanks! :)

c_schmitz

c_schmitz

2012-12-09 20:20

administrator   ~23062

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

c_schmitz

c_schmitz

2012-12-11 14:48

administrator   ~23130

2.00 Build 121211 released

Related Changesets

LimeSurvey: master f5854575

2012-12-09 16:51:40

c_schmitz

Details Diff
Fixed issue 07052: Survey ID is not imported from .lss file Affected Issues
07052
mod - application/helpers/admin/import_helper.php Diff File

LimeSurvey: 2.1 da35ef1b

2012-12-09 16:51:40

c_schmitz

Details Diff
Fixed issue 07052: Survey ID is not imported from .lss file Affected Issues
07052
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-12-09 16:19 mfaber New Issue
2012-12-09 16:19 mfaber File Added: limesurvey_survey_292929.lss
2012-12-09 16:22 mfaber Issue Monitored: mfaber
2012-12-09 16:32 c_schmitz Note Added: 23042
2012-12-09 16:32 c_schmitz Assigned To => c_schmitz
2012-12-09 16:32 c_schmitz Status new => feedback
2012-12-09 17:11 mfaber Note Added: 23044
2012-12-09 17:11 mfaber Status feedback => assigned
2012-12-09 17:51 c_schmitz Changeset attached => LimeSurvey master f5854575
2012-12-09 17:51 c_schmitz Note Added: 23046
2012-12-09 17:51 c_schmitz Resolution open => fixed
2012-12-09 17:51 c_schmitz Note Added: 23047
2012-12-09 17:51 c_schmitz Status assigned => resolved
2012-12-09 17:51 c_schmitz Fixed in Version => 2.00+
2012-12-09 18:30 mfaber Note Added: 23052
2012-12-09 20:20 c_schmitz Changeset attached => LimeSurvey 2.1 da35ef1b
2012-12-09 20:20 c_schmitz Note Added: 23062
2012-12-11 14:48 c_schmitz Note Added: 23130
2012-12-11 14:48 c_schmitz Status resolved => closed
2021-08-04 14:32 guest Bug heat 4 => 6