View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18071Bug reportsRemoteControlpublic2022-05-06 10:28
Reportergabrieljenik Assigned To 
PrioritynoneSeveritypartial_block 
Status reviewResolutionopen 
Product Version3.25.4 
Summary18071: Importing Question through Remote Control may fail if the imported question already exists
Description

The new "title" is set after importing. In other words, if you want to import a question, whose title already exists, but set it at the moment (through the API call), you can't, because before setting the new one, the process will fail because of the duplication.

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

Relationships

related to 16907 testinggabrieljenik Importing Question through Remote Control doesn't set new title for all languages 

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-05-03 08:27

developer   ~69365

Solution : auto fix name ?

DenisChenu

DenisChenu

2022-05-06 09:20

developer   ~69454

OK :

  1. Question is imported but without new title (can be randomized)
  2. If a new title is set : it fails to update

Then : must NOT import question if question->title set in params already exist.

DenisChenu

DenisChenu

2022-05-06 10:28

developer   ~69458

But !!
@galads : we can not work on same function at same time !!!

DenisChenu

DenisChenu

2022-05-06 10:28

developer   ~69459

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

Issue History

Date Modified Username Field Change
2022-05-02 21:19 gabrieljenik New Issue
2022-05-02 21:19 gabrieljenik Issue generated from: 16907
2022-05-02 21:19 gabrieljenik Relationship added related to 16907
2022-05-03 07:32 galads Assigned To => DenisChenu
2022-05-03 07:32 galads Status new => assigned
2022-05-03 08:27 DenisChenu Note Added: 69365
2022-05-03 08:27 DenisChenu Bug heat 0 => 2
2022-05-06 09:20 DenisChenu Note Added: 69454
2022-05-06 10:28 DenisChenu Note Added: 69458
2022-05-06 10:28 DenisChenu Assigned To DenisChenu =>
2022-05-06 10:28 DenisChenu Status assigned => review
2022-05-06 10:28 DenisChenu Note Added: 69459