View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07113Bug reportsLimeSurvey Websitepublic2012-12-21 00:59
Reportermkaufma1 Assigned Toc_schmitz  
PriorityurgentSeverityblock 
Status closedResolutionduplicate 
Product Version2.00+ 
Summary07113: Data consistency check destroys survey
Description

The 'data consistency check' brakes one of two surveys by renaming the survey and token table and then offering to delete the inactive survey:

Data redundancy check
The redundancy check looks for tables leftover after deactivating a survey. You can delete these if you no longer require them.
The following old survey response tables exist and may be deleted if no longer required:
Survey ID 395136 saved at 20 Dec 2012 09:22 containing 3 record(s) (responses)

The survey still shows up as active in the admin console but if you try to run it the following message appears:

Internal Server Error
The table "{{survey_395136}}" for active record class "Survey_dynamic" cannot be found in the database.

Steps To Reproduce

Create 2 closed surveys and activate them. Make a data consistency check. One survey gets deactivated.

Additional Information

Both surveys were imported from limesurvey <2.0 and worked flawless.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121213
I will donate to the project if issue is resolvedYes
Browser
Database type & versionMySQL 5.1.66
Server OS (if known)CentOS 6.3
Webserver software & version (if known)apache 2.2.15
PHP Versionphp 5.3.3

Relationships

duplicate of 07071 closedc_schmitz DCbException at survey entry - missing survey_timings 

Users monitoring this issue

There are no users monitoring this issue.

Activities

mkaufma1

mkaufma1

2012-12-20 17:36

reporter   ~23318

When you try to stop the broken survey the following error shows up:

Internal Server Error

CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'limesurvey.lime_survey_395136' doesn't exist

Issue History

Date Modified Username Field Change
2012-12-20 17:32 mkaufma1 New Issue
2012-12-20 17:32 mkaufma1 Status new => assigned
2012-12-20 17:32 mkaufma1 Assigned To => c_schmitz
2012-12-20 17:36 mkaufma1 Note Added: 23318
2012-12-20 23:39 c_schmitz Status assigned => closed
2012-12-20 23:39 c_schmitz Resolution open => duplicate
2012-12-20 23:39 c_schmitz Relationship added duplicate of 07071
2012-12-21 00:59 mkaufma1 Issue Monitored: mkaufma1
2012-12-21 00:59 mkaufma1 Issue End Monitor: mkaufma1