[#3490] - Login As User: TypeError: orgModule.roleManager.actionFactory is undefined

Category:
Bug report
Priority:
Low
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

When performing custom authentication on JasperReports Server, that simply bypass the "normal" login screen, performing pre (sso) authentication (and bypassing the normal login form); I observed errors when using "Login as User". When selected the Login as User button, it does nor work, caused by Java Script Errors

Error with FireFox:
TypeError: orgModule.roleManager.actionFactory is undefined
http://localhost:8080/jasperserver/scripts/org.role.mng.main.js
Line 28

Error with IE:
SCRIPT5007: Unable to get property 'login' of undefined or null reference
org.role.mng.main.js, line 28 character 5

From what o have observed, it seems that the login as user feature, depended on parameter "j_username", that if its not set causes the reported error.

The login as user, should use the username from authenticated user, and should not depend on parameters sent from login from

v5.5.0
JasperReports Server
bruno.fs.antunes's picture
Joined: Feb 24 2014 - 1:44am
Last seen: 4 years 2 months ago
Feedback