View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13298 | Bug reports | _ Unknown | public | 2018-02-06 00:00 | 2021-03-10 16:45 |
Reporter | marakkA | Assigned To | ollehar | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.1.x | ||||
Summary | 13298: Retrieiving datetimesettings breaks JS functions in v3.1 | ||||
Description | After updating to v3, when you attempt to use the numbered pagination controls at the bottom of the survey participants list you get an exception in the console: First you notice that the following resource does not load: GET http://www.domain.com/index.php/admin/survey/sa/datetimesettings?YII_CSRF_TOKEN=xyz 404 (Not Found) which leads to: Uncaught TypeError: Cannot read property 'jsdate' of undefined which results in javascript controls not working e.g. Unable to send invites to selected participants | ||||
Steps To Reproduce | Load survey participants screen with more records than max per page so pagination controls are displayed. Click on the 2nd page and then view browser console. Any functions which require JS will fail e.g. attempt to select a record and choose to invite, the new tab will not open. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | Version 3.1.1+180130 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | |||||
Database type & version | 5.5.56-MariaDB MariaDB Server | ||||
Server OS (if known) | CentOS Linux release 7.4.1708 (Core) | ||||
Webserver software & version (if known) | Apache HTTP server 2.4.6 | ||||
PHP Version | 5.6.33 | ||||
I can confirm that the errors are visible in the JS console, but as far as I can see, they don't block any functionality. How did you try to send out email, which button exactly? |
|
If you select some participants and then click on the dropdown in the bottom left and select "Send email invitations" then instead of loading a new tab/window to complete the next step it just returns the viewport to the top of the page. So we are unable to send invites to participants beyond the maximum displayed per page as the control is broken when clicking on the second page. |
|
Cannot reproduce. Can you please:
|
|
|
|
OK, at least parts of this issue (JS error) has been fixed in latest release. Can you update to 3.2.1, please? |
|
With 3.2.1 there is no longer an issue loading the 'datetimesettings' url but now there is a 403 as it tries to load the url below but is denied by the .htaccess file in ./application/.htaccess. The result is the same, unable to send email invitations. I am able to temporarily resolve the problem by editing the .htaccess file to allow this path. Attached is console screenshot. |
|
The solution to this is to move listActions.js to assets/ folder. |
|
|
|
olle: we should just edit the .htaccess that block the access to application's subfolders |
|
@marakkA Can you test the solution proposed here, please? https://stackoverflow.com/a/7650159/2138090 Basically, put Order allow,deny in .htaccess in subfolder https://www.abc.com/survey/application/extensions/admin/grid/MassiveActionsWidget/assets |
|
Hello marakkA, we have asked for feedback on this issue. Because we did not get an answer we assume that the issue is resolved. Thank you and best regards, ollehar |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-06 00:00 | marakkA | New Issue | |
2018-02-06 12:19 | ollehar | Assigned To | => ollehar |
2018-02-06 12:19 | ollehar | Status | new => feedback |
2018-02-06 12:19 | ollehar | Note Added: 46275 | |
2018-02-06 12:22 | marakkA | Note Added: 46276 | |
2018-02-06 12:22 | marakkA | Status | feedback => assigned |
2018-02-08 10:45 | marakkA | Issue Monitored: marakkA | |
2018-02-08 11:28 | ollehar | Status | assigned => feedback |
2018-02-08 11:28 | ollehar | Note Added: 46305 | |
2018-02-08 14:08 | marakkA | File Added: safari.png | |
2018-02-08 14:08 | marakkA | File Added: firefox.png | |
2018-02-08 14:08 | marakkA | File Added: chrome.png | |
2018-02-08 14:08 | marakkA | Note Added: 46320 | |
2018-02-08 14:08 | marakkA | Status | feedback => assigned |
2018-02-08 15:30 | ollehar | Note Added: 46323 | |
2018-02-08 15:30 | ollehar | Status | assigned => feedback |
2018-02-09 12:33 | marakkA | Note Added: 46349 | |
2018-02-09 12:33 | marakkA | Status | feedback => assigned |
2018-02-14 16:56 | ollehar | Note Added: 46467 | |
2018-02-14 17:10 | ollehar | Note Added: 46472 | |
2018-02-15 10:42 |
|
Note Added: 46502 | |
2018-02-15 10:51 | ollehar | Note Added: 46504 | |
2018-02-15 11:27 | ollehar | Status | assigned => feedback |
2021-03-10 16:45 | ollehar | Status | feedback => closed |
2021-03-10 16:45 | ollehar | Resolution | open => fixed |
2021-03-10 16:45 | ollehar | Note Added: 63019 | |
2021-08-02 21:44 | guest | Bug heat | 6 => 8 |