View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05009Bug reportsOtherpublic2011-03-09 20:09
Reporteruser12631Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version1.90+ 
Summary05009: coookie typo in admin/html.php
Description

/limesurvey/admin/html.php

line 325:
$js_admin_includes[]='../scripts/jquery/jquery.coookie.js';

Should be cookie; causes loss of functionality due to 404.

TagsNo tags attached.
Attached Files
Untitled-1.png (139,193 bytes)
Bug heat8
Complete LimeSurvey version number (& build)9628
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql
Server OS (if known)centos
Webserver software & version (if known)apache 2.2
PHP Version5.3.2
Git branch / Pull Request URL

Users monitoring this issue

c_schmitz

Activities

tpartner

tpartner

2011-03-09 14:07

partner   ~14356

centos, I don't think this is a typo - the name if the file IS jquery.coookie.js.

Can you please describe how you are getting the 404 error?

user12631

2011-03-09 17:24

  ~14358

After updating to latest build, survey editing functionality was disabled due to 404 error:

File does not exist: /home/secure99/public_html/limesurvey/scripts/jquery/jquery.coookie.js

The line in the cited file references /scripts/jquery/jquery.cookie.js as /scripts/jquery/jquery.coookie.js

Note the misspelling of coookie. It is not that complicated. Somewhere along the line, someone added an extra 'o' to the filename which breaks functionality.

tpartner

tpartner

2011-03-09 18:33

partner   ~14359

I'm going to ignore the "It is not that complicated" remark and try to remain polite.

As stated above, the file is actually named jquery.coookie.js (with an extra o)so the code is correct. Please see my screenshot of the repo-browser.

c_schmitz

c_schmitz

2011-03-09 18:54

administrator   ~14360

Yeah. Not a bug. The file is intentionally named that way because cookies.js would trigger certain filter software, like old rule sets of mod_security.

user12631

2011-03-09 19:03

  ~14363

Ok, so why is this so complicated then? When did the jquery file change and why was it not updated in my system? Is the jquery directory not included in the ComfortUpdate process?

I ran that updater Monday going from 9561 to 9642 and suddenly cookie became coookie, but that js file was not updated with the code.

I manually changed the script to match the cookie file, but it looks like my jquery folder is out of sync and this will break again on the next update. What went wrong?

tpartner

tpartner

2011-03-09 19:33

partner   ~14364

Carsten, thanks for the clarification.

As this appears to be an updater issue, if you don't mind, I'll pass it over to you.

c_schmitz

c_schmitz

2011-03-09 20:09

administrator   ~14367

File coookies.js already exists in build 9561. Typical PEBCAK error.

Issue History

Date Modified Username Field Change
2011-03-08 21:51 user12631 New Issue
2011-03-09 14:06 tpartner Assigned To => tpartner
2011-03-09 14:06 tpartner Status new => assigned
2011-03-09 14:07 tpartner Note Added: 14356
2011-03-09 17:24 user12631 Note Added: 14358
2011-03-09 18:33 tpartner Note Added: 14359
2011-03-09 18:34 tpartner File Added: Untitled-1.png
2011-03-09 18:53 c_schmitz Issue Monitored: c_schmitz
2011-03-09 18:54 c_schmitz Note Added: 14360
2011-03-09 19:03 user12631 Note Added: 14363
2011-03-09 19:33 tpartner Note Added: 14364
2011-03-09 19:33 tpartner Assigned To tpartner => c_schmitz
2011-03-09 20:09 c_schmitz Note Added: 14367
2011-03-09 20:09 c_schmitz Status assigned => closed
2011-03-09 20:09 c_schmitz Resolution open => unable to reproduce