View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20189Bug reportsSurvey editingpublic2025-08-07 13:25
Reporterginosupport Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version6.6.x 
Summary20189: Javascript error after adding users from usergroup to survey
Description

There's a javascript error after adding the users from a usergroup to a survey. The screen itself does seem to continue to work

Steps To Reproduce

Steps to reproduce

  • Create a usergroup with (in my case) 2 users
  • Create any survey (I imported one from an lss file, but i don't think the specific surveydefinition itself is relevant)
  • In the survey permissions, add the users from the usergroup

Expected result

The users are added and there is no (js) error

Actual result

In the browser console i find this javascript error:

Uncaught TypeError: can't access property "optionsStore", expiresDatePicker is undefined
wireDatePicker https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/44f0e822/js/usermanagement.js:271
applyModalHtml https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/44f0e822/js/usermanagement.js:301
success https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/44f0e822/js/usermanagement.js:360
jQuery 8
openModal https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/44f0e822/js/usermanagement.js:357
success https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/e4e70e16/surveypermissions.js:186
setTimeout handler*success https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/e4e70e16/surveypermissions.js:184
jQuery 8
addUserGroupToSurvey https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/e4e70e16/surveypermissions.js:172
wireAddUserGroupForm https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/e4e70e16/surveypermissions.js:164
jQuery 10
wireAddUserGroupForm https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/e4e70e16/surveypermissions.js:163
<anonymous> https://kds-dev-vragenlijst.cloud.gino.nl/tmp/assets/e4e70e16/surveypermissions.js:6
jQuery 18

Note that afterwards the page does continue to work and the users are added, so this is mostly a minor technical thing.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.15.5+250724
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgreSQL
Server OS (if known)RHEL 9
Webserver software & version (if known)
PHP Version8.x

Users monitoring this issue

There are no users monitoring this issue.

Activities

Related Changesets

LimeSurvey: master 955aae21

2025-08-07 13:24

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 20189: Javascript error after adding users from usergroup to survey (04390)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Affected Issues
20189
mod - assets/packages/usermanagement/js/usermanagement.js Diff File

Issue History

Date Modified Username Field Change
2025-07-24 16:25 ginosupport New Issue
2025-07-28 15:20 tibor.pacalat Assigned To => gabrieljenik
2025-07-28 15:20 tibor.pacalat Status new => assigned
2025-08-04 18:25 gabrieljenik Assigned To gabrieljenik => DenisChenu
2025-08-04 18:25 gabrieljenik Status assigned => ready for code review
2025-08-04 18:25 gabrieljenik Note Added: 83174
2025-08-04 18:25 gabrieljenik Bug heat 0 => 2
2025-08-05 17:00 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-08-05 17:00 DenisChenu Status ready for code review => ready for testing
2025-08-07 13:24 Changeset attached => LimeSurvey master 955aae21
2025-08-07 13:24 guest Note Added: 83184
2025-08-07 13:24 guest Bug heat 2 => 4
2025-08-07 13:25 tibor.pacalat Status ready for testing => resolved
2025-08-07 13:25 tibor.pacalat Resolution open => fixed