View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20466Bug reportsUsability/user experiencepublic2026-04-14 11:07
Reporterriku Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version6.16.x 
Summary20466: 20337 fix causes tablesorter dependency error in Survey permissions view
Description

When initially visiting another route and navigating to the Survey permissions view indirectly via the sidemenu, for example, the following error is thrown, also breaking other JS logic thereafter:
Uncaught TypeError: $(...).tablesorter is not a function surveypermissions.js:10:26.

Additionally, I found that action_dropdown.js isn't loaded when no users are listed in the Survey permissions table. This also causes an error when adding users. When some user already is listed, action_dropdown.js is loaded.

Steps To Reproduce

Steps to reproduce

  1. Visit an unrelated survey route (without tablesorter dependency, Publication view for example). Refresh if applicable.

  2. Navigate to the Survey permissions view via the sidemenu so that PJAX is used.

  3. Confirm the tablesorter error in console.

  4. Ensure no Survey permissions are set for users.

  5. Add a user to Survey permissions.

  6. Confirm the LS.actionDropdown error in console.

Expected result

No JS errors are thrown.

Actual result

Described JS errors are thrown and cause functional issues.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.16.12+260309
I will donate to the project if issue is resolvedNo
Browser
Database type & version-
Server OS (if known)
Webserver software & version (if known)
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

riku

riku

2026-03-19 10:56

reporter   ~84482

PR: https://github.com/LimeSurvey/LimeSurvey/pull/4790

guest

guest

2026-04-13 16:24

viewer   ~84613

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39527

LimeBot

LimeBot

2026-04-14 11:07

administrator   ~84638

Fixed in Release 6.16.17+260414

Related Changesets

LimeSurvey: master bdc93de7

2026-04-13 16:24

Richard A.

Committer: GitHub


Details Diff
Fixed issue 20466: Tablesorter dependency error in Survey permissions view (04790) Affected Issues
20466
mod - application/config/vendor.php Diff File
mod - application/controllers/SurveyPermissionsController.php Diff File

Issue History

Date Modified Username Field Change
2026-03-19 10:54 riku New Issue
2026-03-19 10:56 riku Note Added: 84482
2026-03-19 10:56 riku Bug heat 0 => 2
2026-03-19 14:59 tibor.pacalat Assigned To => gabrieljenik
2026-03-19 14:59 tibor.pacalat Status new => assigned
2026-03-19 14:59 tibor.pacalat Status assigned => in code review
2026-04-13 16:24 Changeset attached => LimeSurvey master bdc93de7
2026-04-13 16:24 guest Note Added: 84613
2026-04-13 16:24 guest Bug heat 2 => 4
2026-04-13 16:24 tibor.pacalat Status in code review => resolved
2026-04-13 16:24 tibor.pacalat Resolution open => fixed
2026-04-14 11:07 LimeBot Note Added: 84638
2026-04-14 11:07 LimeBot Status resolved => closed
2026-04-14 11:07 LimeBot Bug heat 4 => 6