Description
Configure LDAP server and LDAP realm.
Try to map an LDAP role that does not exist.
Click Save to save the role.
Saving the role will fail because Nexus tries to find the role in LDAP and can't. The UI should show a message that the role could could not be found.
The javascript console contains this error:
nexus-coreui-plugin-prod.js?_v=3.12.1-01:1 Uncaught TypeError: Cannot read property 'length' of null
at j.load (nexus-coreui-plugin-prod.js?_v=3.12.1-01:1)
at A.fire (baseapp-prod.js?_v=3.12.1-01:1)
at j.continueFireEvent (baseapp-prod.js?_v=3.12.1-01:1)
at j.fireEventArgs (baseapp-prod.js?_v=3.12.1-01:1)
at j.a.fireEventArgs (baseapp-prod.js?_v=3.12.1-01:1)
at j.fireEvent (baseapp-prod.js?_v=3.12.1-01:1)
at j.onProxyLoad (baseapp-prod.js?_v=3.12.1-01:1)
at A.processResponse (baseapp-prod.js?_v=3.12.1-01:1)
at A.<anonymous> (baseapp-prod.js?_v=3.12.1-01:1)
at baseapp-prod.js?_v=3.12.1-01:1
Expected
- there should be no javascript errors in this case.