View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17511Bug reportsQuestion editorpublic2022-07-06 17:17
Reportergabrieljenik Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version3.25.20 
Summary17511: When importing a group, duplicate question codes can be generated
Description

I would expect LS to rename those, reject the operation or at least to get a warning

Additional Information

Smae I guess happens with question imports

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)3.25
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Versionphp

Relationships

related to 16720 closedgabrieljenik Old/invalid question codes adjusted during LSS import do not get replaced 
related to 17688 closedgabrieljenik When importing a group with question with default value, default values are not imported 

Users monitoring this issue

There are no users monitoring this issue.

Activities

galads

galads

2021-08-16 08:46

reporter   ~65986

I agree, all question codes should be unique even after import.

DenisChenu

DenisChenu

2021-08-17 13:36

developer   ~66028

Last edited: 2021-09-10 09:38

Not already reported ?

gabrieljenik

gabrieljenik

2021-10-26 21:24

manager   ~66949

PR LTS: https://github.com/LimeSurvey/LimeSurvey/pull/2122

gabrieljenik

gabrieljenik

2021-10-27 15:18

manager   ~66968

For master we first need to address 17688

gabrieljenik

gabrieljenik

2021-11-04 06:49

manager   ~67085

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=32857

gabrieljenik

gabrieljenik

2022-07-06 17:17

manager   ~70769

Working good on Master already

Related Changesets

LimeSurvey: 3.x-LTS 0d07bfce

2021-11-04 07:49

gabrieljenik

Committer: GitHub


Details Diff
Fixed issue 17511: When importing a group, duplicate question codes can be generated (#2122)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17511
mod - application/helpers/admin/import_helper.php Diff File
mod - application/views/admin/survey/QuestionGroups/import_view.php Diff File

Issue History

Date Modified Username Field Change
2021-08-13 22:39 gabrieljenik New Issue
2021-08-16 08:46 galads Note Added: 65986
2021-08-16 08:46 galads Bug heat 0 => 2
2021-08-16 08:46 galads Assigned To => galads
2021-08-16 08:46 galads Status new => confirmed
2021-08-17 13:36 DenisChenu Note Added: 66028
2021-08-17 13:36 DenisChenu Bug heat 2 => 4
2021-08-17 14:45 c_schmitz Relationship added related to 16720
2021-09-10 09:38 galads Assigned To galads => gabrieljenik
2021-09-10 09:38 galads Status confirmed => assigned
2021-09-10 09:38 galads Zoho Project Synchronization => |Yes|
2021-10-26 21:24 gabrieljenik Note Added: 66949
2021-10-26 21:24 gabrieljenik Bug heat 4 => 6
2021-10-27 15:18 gabrieljenik Issue cloned: 17688
2021-10-27 15:18 gabrieljenik Relationship added related to 17688
2021-10-27 15:18 gabrieljenik Note Added: 66968
2021-11-04 06:49 gabrieljenik Changeset attached => LimeSurvey 3.x-LTS 0d07bfce
2021-11-04 06:49 gabrieljenik Note Added: 67085
2021-11-04 06:49 gabrieljenik Resolution open => fixed
2022-07-06 17:17 gabrieljenik Status assigned => closed
2022-07-06 17:17 gabrieljenik Note Added: 70769