View Issue Details

IDProjectCategoryView StatusLast Update
5110Composr alpha bug reportsGeneral / Uncategorisedpublic2022-12-04 19:47
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Summary5110: Permissions tree editor: Changing display (group) results in weird console error / tree breaking
DescriptionWhen switching groups on the permissions tree editor (only on the first time), the tree malfunctions and a console error is thrown.

I wonder if it has something to do with the pre-expansion of the Welcome Zone item. This is not expanded on page load. But when changing groups, it will try expanding itself automatically.
Additional InformationUncaught (in promise) TypeError: $dom.elArg(): Argument 1 must be a {Element|string}, "Undefined" provided.
    at Object.elArg (global_non_minified.js?1669915435:7239:15)
    at Object.animate (global_non_minified.js?1669915435:9067:19)
    at Object.fadeIn (global_non_minified.js?1669915435:9301:21)
    at TreeList.renderTree (tree_list_non_minified.js?1669915435:149:22)
    at TreeList.response (tree_list_non_minified.js?1669915435:138:18)
    at tree_list_non_minified.js?1669915435:523:30
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2022-12-04 19:47

administrator   ~7773

I believe your server was bogged down (likely the .webp 404 issue), which delayed the AJAX request. I've made the code robust now so if the AJAX hasn't finished yet the drop-down won't crash.

Issue History

Date Modified Username Field Change
2022-12-01 17:59 PDStig New Issue
2022-12-01 17:59 PDStig Status Not Assigned => Assigned
2022-12-01 17:59 PDStig Assigned To => Chris Graham
2022-12-04 19:47 Chris Graham Status Assigned => Resolved
2022-12-04 19:47 Chris Graham Resolution open => fixed
2022-12-04 19:47 Chris Graham Note Added: 0007773
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised