View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|13298||Bug reports||[All Projects] _ Unknown||public||2018-02-06 00:00||2018-02-15 11:27|
|Target Version||Fixed in Version|
|Summary||13298: Retrieiving datetimesettings breaks JS functions in v3.1|
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:
which leads to:
Uncaught TypeError: Cannot read property 'jsdate' of undefined
|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.|
|Complete LimeSurvey version number (& build)||Version 3.1.1+180130|
|I will donate to the project if issue is resolved||Yes|
|Database & DB-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|
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:
safari.png (158,585 bytes)
firefox.png (244,863 bytes)
chrome.png (125,160 bytes)
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.
@LouisGac, can you write down a recommendation on how to split the widget?
olle: we should just edit the .htaccess that block the access to application's subfolders
in .htaccess in subfolder https://www.abc.com/survey/application/extensions/admin/grid/MassiveActionsWidget/assets
|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 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||LouisGac||Note Added: 46502|
|2018-02-15 10:51||ollehar||Note Added: 46504|
|2018-02-15 11:27||ollehar||Status||assigned => feedback|