View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19956Bug reportsImport/Exportpublic2025-03-31 17:57
Reportertibor.pacalat Assigned Totibor.pacalat  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version6.6.x 
Summary19956: Ugly error message after trying to import not compatible responses
Description

We should have a notification that the import failed and not have an error page when user tries to import non compatible responses.

Steps To Reproduce

Steps to reproduce

  1. Create new survey
  2. First question is long free text
  3. Second question is long free text
  4. I complete the survey (Q1 = "a", Q2 = "b")
  5. I deactivate the survey
  6. I change the second question to date/time type
  7. I activate the survey
  8. On the responses page I attempt to import the old table where I had a record
  9. It fails

Expected result

Notification is triggered, user stays on the same page.

Actual result

Error page (see screenshot)

TagsNo tags attached.
Attached Files
image.png (190,933 bytes)
Bug heat6
Complete LimeSurvey version number (& build)6.10.3+250203
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known)
Webserver software & version (if known)
PHP Version.

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2025-02-10 11:38

developer   ~81984

Last edited: 2025-02-10 11:38

Right !
We avoid such issue on VV import, must do same on SQL import :)

DenisChenu

DenisChenu

2025-02-10 11:39

developer   ~81985

Notification is triggered, user stays on the same page.

Unsure can stay on same page : a result page with list of issue ?

Something like

Imported X response with success,
Have Y issues : here the list :…

tibor.pacalat

tibor.pacalat

2025-02-10 11:59

administrator   ~81986

We can do that as well, but if possible I would refresh the page and show notification.

DenisChenu

DenisChenu

2025-02-10 12:17

developer   ~81987

We can do that as well, but if possible I would refresh the page and show notification.

Why refresh the page ? If DB have issue : you can not fix it until we have a solution to disable some columns (and then it's a new feature).

DenisChenu

DenisChenu

2025-02-10 12:19

developer   ~81988

PS : you can not have issue for 9 reponses, and have an issue at the 10th Currently : its stop at 10th and leave the others.

DenisChenu

DenisChenu

2025-03-21 10:04

developer   ~82303

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

LimeBot

LimeBot

2025-03-31 17:57

administrator   ~82350

Fixed in Release 6.12.3+250331

Issue History

Date Modified Username Field Change
2025-02-10 11:29 tibor.pacalat New Issue
2025-02-10 11:29 tibor.pacalat File Added: image.png
2025-02-10 11:30 tibor.pacalat Assigned To => DenisChenu
2025-02-10 11:30 tibor.pacalat Status new => assigned
2025-02-10 11:38 DenisChenu Note Added: 81984
2025-02-10 11:38 DenisChenu Bug heat 0 => 2
2025-02-10 11:38 DenisChenu Note Edited: 81984
2025-02-10 11:39 DenisChenu Note Added: 81985
2025-02-10 11:59 tibor.pacalat Note Added: 81986
2025-02-10 11:59 tibor.pacalat Bug heat 2 => 4
2025-02-10 12:17 DenisChenu Note Added: 81987
2025-02-10 12:19 DenisChenu Note Added: 81988
2025-03-21 10:04 DenisChenu Note Added: 82303
2025-03-21 10:04 DenisChenu Assigned To DenisChenu => gabrieljenik
2025-03-21 10:04 DenisChenu Status assigned => ready for code review
2025-03-21 14:20 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2025-03-21 14:20 gabrieljenik Status ready for code review => ready for testing
2025-03-31 14:41 tibor.pacalat Status ready for testing => resolved
2025-03-31 14:41 tibor.pacalat Resolution open => fixed
2025-03-31 17:57 LimeBot Note Added: 82350
2025-03-31 17:57 LimeBot Status resolved => closed
2025-03-31 17:57 LimeBot Bug heat 4 => 6