View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17746Bug reportsRemoteControlpublic2023-10-25 02:21
Reportertbart Assigned Tomfavetti  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Summary17746: import_survey does not respect given $sNewSurveyName nor $DestSurveyID
Description

The title pretty much says it all.

When I import a survey and pass a new name and ID, they get ignored.
The survey gets imported with a random ID (although my given ID is still free), the name is the same as contained in the lss I send.

The API doc at https://api.limesurvey.org/classes/remotecontrol_handle.html#method_import_survey says this should be possible.

Using LimeSurvey Version 3.27.25+21111

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)3.27.25+21111
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

Users monitoring this issue

Amaury VAN ESPEN

Activities

tbart

tbart

2021-11-22 10:16

reporter   ~67473

Additionally, making copy_survey accept $sNewSurveyName, $DestSurveyID as well, would definitely also help and make the package logically complete. Thanks!

mfavetti

mfavetti

2023-10-25 01:52

developer   ~77954

Last edited: 2023-10-25 02:21

could not reproduce, checked on 5.x and master, php 8.0/8.1/8.2

new survey name and id are correctly used

i will do a feature request to develop concerning adding destination id for copy

see 19191 for feature request

Issue History

Date Modified Username Field Change
2021-11-22 09:46 tbart New Issue
2021-11-22 10:16 tbart Note Added: 67473
2021-11-22 10:16 tbart Bug heat 0 => 2
2023-10-16 06:56 Amaury VAN ESPEN Issue Monitored: Amaury VAN ESPEN
2023-10-16 06:56 Amaury VAN ESPEN Bug heat 2 => 4
2023-10-25 00:44 mfavetti Assigned To => mfavetti
2023-10-25 00:44 mfavetti Status new => assigned
2023-10-25 01:52 mfavetti Note Added: 77954
2023-10-25 01:52 mfavetti Bug heat 4 => 6
2023-10-25 01:53 mfavetti Project Feature requests => Bug reports
2023-10-25 01:53 mfavetti Severity feature => minor
2023-10-25 01:53 mfavetti Complete LimeSurvey version number (& build) => 3.27.25+21111
2023-10-25 01:54 mfavetti Status assigned => closed
2023-10-25 01:54 mfavetti Resolution open => unable to reproduce
2023-10-25 02:21 mfavetti Note Edited: 77954