View Issue Details

IDProjectCategoryView StatusLast Update
17214Bug reportsRemoteControlpublic2021-03-30 08:37
ReporterJmantysalo Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.4.13 
Summary17214: add_participants, non-consecutive participant id numbers
DescriptionI was asked to make a helper program that copies participant list from a survey to another. I did basically

$people = $conn->list_participants($sessionKey, $survey_id_source, 0, 100000, false, array('attribute_1'));
foreach ($people as $person)
    $conn->add_participants($sessionKey, $survey_id_destination, array($person), false);

and this works IF id numbers in the participants table of source survey are consecutive numbers. But if there is a gap I got participants that have no name nor email.
TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.4.13+210315
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionN/A
Server OS (if known)
Webserver software & version (if known)
PHP VersionN/A

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-03-30 08:37 Jmantysalo New Issue