Cannot remove OIDC consent from session explorer
Concerned version
Version: 2.0.9
Summary
The remove button does not work in the session explorer's OIDC consent block
This is a regression (it works in 2.0.5, I have not tested other versions)
Logs
Error: [jqLite:nosel] http://errors.angularjs.org/1.7.9/jqLite/nosel
Angular 2
deleteOIDCConsent sessions.min.js:1
Angular 7
Issue comes from this line:
item = angular.element(".data-#{epoch}")
The cause seems to be that Angular's bundled "light jquery" (jqlite) does not support selectors on angular.element
We ship a full JQuery with the manager, but it's not loaded in scripts.tpl
(anymore)
Possible fixes
2 possible solutions
- Load the full JQuery lib
- Or perhaps rewrite this selector in a way that works with jqLite? That would allow us to stop bundling the full jQuery in the manager, since apparently everything else works without it.
I have tried the second option, but no lock so far, I'm too bad at Angular :(