View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14724 | Bug reports | Survey taking | public | 2019-04-02 19:40 | 2019-04-30 09:12 |
Reporter | tpartner | Assigned To | tpartner | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.16.x | ||||
Summary | 14724: Cannot disable AJAX in the survey theme options | ||||
Description | Since updating to 3.16.1, I cannot disable AJAX in the survey theme options. Selecting AJAX Mode = No has no effect, the pages are still loaded via AJAX. To me, this is a critical bug as it destroys many JavaScript workarounds. | ||||
Steps To Reproduce | 1) Upload the attached survey and ensure that AJAX Mode = No. 2) Preview the survey. 3) On the first page load, you will get an alert indicating page load and a new date will be appended to the Q1 question text. 4) Advance to group 2 - the page is loaded via AJAX where it should be a complete page reload. 5) Return to group 1. 6) There is no alert indicating a page load and a second date is inserted below the first. If AJAX were disabled (causing complete page load), there would only be one date inserted! | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 3.16.1 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | N/A | ||||
Database type & version | mysqlnd 5.0.12-dev | ||||
Server OS (if known) | Windows 10 | ||||
Webserver software & version (if known) | Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9 | ||||
PHP Version | 7.1.9 | ||||
An idea ? ;) |
|
@tpartner : lack of lss here ? |
|
@DenisChenu, yes, thanks for SkelVanilla. Sorry, here is the .lss. |
|
Sorry @tpartner i can not reproduce on 3.17.0 … did you update something other ? debug is at 0 or 2 ? [edit] |
|
I initially tested with debug = 1. I have now tested in 3.17.0 and the problem still occurs when debug is 1 or 2, not when debug is 0. When debug is 1 or 2 and AJAX mode is set to "No" and you return to the first group via the "Previous" button, the alert does not occur and a second (or third...) date string is added. This indicates that the page was not completely reloaded - the $(document).on('ready',function(){} is not fired. As to why the dates are all the same, as far as I can see, this is (another) bug with the AJAX implemented. |
|
debug at 2 : https://demo.sondages.me/461462 Did you have |
|
Yes, I did have force_xmlsettings_for_survey_rendering = true. Testing with that removed works fine - the AJAX mode setting is respected. So, bug? |
|
Not a bug : you force to get the config from xml, and in xml : it's true … |
|
Okay, thanks for your help. |
|
How about disabling Ajax mode by default at the config.xml of all shipped templates? |
|
@Mazi, +1 |
|
Fixed in Version 3.1.7.3 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-02 19:40 | tpartner | New Issue | |
2019-04-02 19:40 | tpartner | File Added: capture_3.png | |
2019-04-02 19:40 | tpartner | File Added: capture_2.png | |
2019-04-03 02:00 | DenisChenu | Issue Monitored: DenisChenu | |
2019-04-03 02:01 | DenisChenu | Note Added: 51289 | |
2019-04-03 11:11 | DenisChenu | Note Added: 51296 | |
2019-04-03 13:18 | tpartner | File Added: limesurvey_survey_461462.lss | |
2019-04-03 13:18 | tpartner | Note Added: 51303 | |
2019-04-03 13:26 | DenisChenu | Note Added: 51305 | |
2019-04-03 13:27 | DenisChenu | Note Edited: 51305 | |
2019-04-03 13:29 | DenisChenu | Note Edited: 51305 | |
2019-04-03 13:31 | DenisChenu | Note Edited: 51305 | |
2019-04-03 13:49 | tpartner | Note Added: 51306 | |
2019-04-03 14:09 | DenisChenu | Note Added: 51307 | |
2019-04-03 14:16 | tpartner | Note Added: 51308 | |
2019-04-03 14:26 | DenisChenu | Note Added: 51309 | |
2019-04-03 14:41 | tpartner | Note Added: 51314 | |
2019-04-03 14:41 | tpartner | Assigned To | => tpartner |
2019-04-03 14:41 | tpartner | Status | new => resolved |
2019-04-03 14:41 | tpartner | Resolution | open => fixed |
2019-04-05 08:51 | Mazi | Note Added: 51357 | |
2019-04-05 11:37 | tpartner | Note Added: 51375 | |
2019-04-30 09:12 | c_schmitz | Note Added: 51667 | |
2019-04-30 09:12 | c_schmitz | Status | resolved => closed |
2021-08-02 18:02 | guest | Bug heat | 8 => 10 |