View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09383Bug reportsSurvey editingpublic2014-12-04 12:20
Reporterrolando_isidoro Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version2.05+ 
Summary09383: Predefined label sets "Add" and "Replace" actions don't work
Description

Adding a predefined label set as answer options for a List (dropdown) question isn't working as expected.

Steps To Reproduce
  1. Create/edit a survey;
  2. Create/choose a question group;
  3. Create/choose a List (dropdown) type question;
  4. Click "Edit answer options for this question";
  5. Click "Predefined label sets...";
  6. Choose one set from the "Available label sets" list and click Add/Replace.
Additional Information

Using browser developer tools the XHR /index.php/admin/questions/sa/answeroptions/ request, triggered by the Add/Replace button click, at line 504 from /scripts/admin/answers.js, results in a 301 Moved permanently response code.

The public function ajaxlabelsetdetails() at line 969 from application/controllers/admin/questions.php that should be responsible for the response isn't called.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)141126
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome, Firefox
Database type & versionMySQL 5.5.40
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache 2.4.7
PHP Version5.5
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-12-03 19:27

administrator   ~31154

Last edited: 2014-12-03 19:27

Works just fine here. Did you clear your browser cache after you recently updated as advised?

rolando_isidoro

rolando_isidoro

2014-12-03 20:46

reporter   ~31156

The problem was reported by other user on a Limesurvey instance I manage.

I then tested myself after cleaning my browser's cache (something I do multiple times a day), even tested it in multiple browsers using incognito mode (Chrome) and private browsing (Firefox) and it happened every time.

I'll try to do some more debugging tomorrow and hopefully be able to discuss it in the IRC channel.

c_schmitz

c_schmitz

2014-12-03 23:34

administrator   ~31158

Maybe not all scripts on the sevrer were replaced? Can you reproduce the issue using our demo?

DenisChenu

DenisChenu

2014-12-04 08:54

developer   ~31160

Last edited: 2014-12-04 09:04

Can not reproduce too (with url path or get)

Url in console : /index.php?r=admin/labels/sa/ajaxSets (for GET)

rolando_isidoro

rolando_isidoro

2014-12-04 10:39

reporter   ~31161

I tried the demo and everything works as expected.

I did update my LS installation just 2 days ago using ComfortUpdate, I'm now in the process of picking up a fresh LS zip package and testing it.

rolando_isidoro

rolando_isidoro

2014-12-04 11:30

reporter   ~31162

Tested in a development environment using the latest tar.gz package, using a dump of the production DB and a copy of the upload directory and it worked as expected too.

It seems the problem was originated from the ConfortUpdate. Do you want me to debug some more on what might went wrong or should we just close this bug?

c_schmitz

c_schmitz

2014-12-04 12:20

administrator   ~31163

As nobody else seems to be affected I will rather close this issue.

Issue History

Date Modified Username Field Change
2014-12-03 17:19 rolando_isidoro New Issue
2014-12-03 19:24 c_schmitz Assigned To => c_schmitz
2014-12-03 19:24 c_schmitz Status new => assigned
2014-12-03 19:27 c_schmitz Note Added: 31154
2014-12-03 19:27 c_schmitz Status assigned => feedback
2014-12-03 19:27 c_schmitz Note Edited: 31154
2014-12-03 20:46 rolando_isidoro Note Added: 31156
2014-12-03 20:46 rolando_isidoro Status feedback => assigned
2014-12-03 23:34 c_schmitz Note Added: 31158
2014-12-04 08:54 DenisChenu Note Added: 31160
2014-12-04 09:04 DenisChenu Note Edited: 31160
2014-12-04 10:39 rolando_isidoro Note Added: 31161
2014-12-04 11:30 rolando_isidoro Note Added: 31162
2014-12-04 12:20 c_schmitz Note Added: 31163
2014-12-04 12:20 c_schmitz Status assigned => closed
2014-12-04 12:20 c_schmitz Resolution open => unable to reproduce
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing