View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05009 | Bug reports | Other | public | 2011-03-08 21:51 | 2011-03-09 20:09 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | high | Severity | partial_block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 1.90+ | ||||
| Summary | 05009: coookie typo in admin/html.php | ||||
| Description | /limesurvey/admin/html.php line 325: Should be cookie; causes loss of functionality due to 404. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 9628 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | mysql | ||||
| Server OS (if known) | centos | ||||
| Webserver software & version (if known) | apache 2.2 | ||||
| PHP Version | 5.3.2 | ||||
| Git branch / Pull Request URL | |||||
|
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? |
|
|
After updating to latest build, survey editing functionality was disabled due to 404 error:
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. |
|
|
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. |
|
|
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. |
|
|
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? |
|
|
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. |
|
|
File coookies.js already exists in build 9561. Typical PEBCAK error. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-03-08 21:51 |
|
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 |
|
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 |
|
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 |