View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
12752Bug reportsRemoteControlpublic2019-01-18 17:27
Reportermaul Assigned ToLouisGac 
PrioritynoneSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version2.67.x 
Summary12752: Function delete_language not working
Description

After delete_language and then get_survey_properties called via RPC, additional_languages not changed.

Steps To Reproduce

1) create a new survey and add some languages via web interface.
2) call get_survey_properties via RPC,
3) call delete_language to delete a language via RPC,
4) call get_survey_properties via RPC again
3) $survey_properties['additional_languages'] is not changed.

Additional Information

There is a bug in remotecontrol_handle.php line 754:

unset($aLanguages[$sLanguage]);

IMHO, it must be changed to:

$aLanguages = array_diff($aLanguages, array($sLanguage));

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)2.67.3+170728
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgre 9.2
Server OS (if known)Centos 6.9
Webserver software & version (if known)Apache version 2.2.15
PHP Version5.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2018-05-23 11:34

developer   ~47747

can someone confirm this?

Issue History

Date Modified Username Field Change
2017-10-06 10:29 maul New Issue
2018-05-23 11:34 LouisGac Assigned To => LouisGac
2018-05-23 11:34 LouisGac Status new => feedback
2018-05-23 11:34 LouisGac Note Added: 47747
2019-01-18 17:27 LouisGac Status feedback => closed
2019-01-18 17:27 LouisGac Resolution open => unable to reproduce