View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03994 | Bug reports | Other | public | 2009-12-14 13:21 | 2010-01-27 22:46 |
Reporter | mdekker | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.86 | ||||
Fixed in Version | 1.87+ | ||||
Summary | 03994: When importing a survey with an unknown template, question preview is mixed up | ||||
Description | I imported a survey with a template that was not in my installation. The normal survey adapted well and reverted to the default template. Question preview gives me warnings and a blank screen. Then when I edit survey settings it cannot find the defined template and changes this to default. Just save and the registered template is default. Suggested fix: during import check if the template exists and show a warning and change to default template. As a bonus the question preview could be fixed but the only case you can have a problem when it is not fixed is when an active template is deleted. Maybe that is when we should issue a warning when one tries to delete an active (used) template. | ||||
Additional Information | Warning: file_get_contents(F:\xampplite\htdocs\Limesurvey_SVN\templates/oyvin/startpage.pstpl) [function.file-get-contents]: failed to open stream: No such file or directory in F:\xampplite\htdocs\Limesurvey_SVN\admin\preview.php on line 86 Warning: file_get_contents(F:\xampplite\htdocs\Limesurvey_SVN\templates/oyvin/startgroup.pstpl) [function.file-get-contents]: failed to open stream: No such file or directory in F:\xampplite\htdocs\Limesurvey_SVN\admin\preview.php on line 87 Warning: file_get_contents(F:\xampplite\htdocs\Limesurvey_SVN\templates/oyvin/question.pstpl) [function.file-get-contents]: failed to open stream: No such file or directory in F:\xampplite\htdocs\Limesurvey_SVN\admin\preview.php on line 89 Warning: file_get_contents(F:\xampplite\htdocs\Limesurvey_SVN\templates/oyvin/endgroup.pstpl) [function.file-get-contents]: failed to open stream: No such file or directory in F:\xampplite\htdocs\Limesurvey_SVN\admin\preview.php on line 104 | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | |||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | |||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | |||||
El-Matador, I think this is a bug report?! Can you move it to the LS1 bugs section? |
|
@ mdekker: |
|
Sorry for posting in the wrong section, was browsing and forgot to put it in the right project :) The problem is on importing a survey. In this survey a particular template is mentioned that does not exist in my config (somebody sent me the survey to test why export might fail). I tried this on 1.87RC5 so it is a problem with the current release, but it must have been around forever I think I just happened to run in to it by accident. |
|
Menno, can you take a look at this and fix it? |
|
Fixed in rev 8255 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-12-14 13:21 | mdekker | New Issue | |
2009-12-14 17:20 | Mazi | Status | new => assigned |
2009-12-14 17:20 | Mazi | Assigned To | => user372 |
2009-12-14 17:20 | Mazi | Note Added: 10569 | |
2009-12-14 19:05 |
|
Project | @2@ => Bug reports |
2009-12-14 19:08 |
|
Note Added: 10571 | |
2009-12-14 19:09 |
|
Status | assigned => feedback |
2009-12-16 08:44 | mdekker | Note Added: 10584 | |
2009-12-26 09:25 |
|
Status | feedback => assigned |
2009-12-26 09:25 |
|
Assigned To | user372 => c_schmitz |
2009-12-29 19:23 | c_schmitz | Note Added: 10693 | |
2009-12-31 00:52 | c_schmitz | Assigned To | c_schmitz => mdekker |
2010-01-15 12:27 | mdekker | Note Added: 10789 | |
2010-01-15 12:27 | mdekker | Status | assigned => resolved |
2010-01-15 12:27 | mdekker | Fixed in Version | => 1.87+ |
2010-01-15 12:27 | mdekker | Resolution | open => fixed |
2010-01-27 22:46 | c_schmitz | Status | resolved => closed |
2010-05-06 10:27 | c_schmitz | Category | Import / Export => (No Category) |