]
Minh Hoang TO updated GTNPORTAL-1909:
-------------------------------------
Labels: synced (was: )
adding a null as an argument to EventListeners in Organization
Service API should be forbidden
----------------------------------------------------------------------------------------------
Key: GTNPORTAL-1909
URL:
https://issues.jboss.org/browse/GTNPORTAL-1909
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Identity integration
Reporter: Viliam Rockai
Assignee: Boleslaw Dawidowicz
Labels: synced
Fix For: 3.2.0-M02
you can add a null object through add*EventListener(*EventListener e) in nearly all
handlers:
userHandler_ = service_.getUserHandler();
profileHandler_ = service_.getUserProfileHandler();
groupHandler_ = service_.getGroupHandler();
membershipHandler_ = service_.getMembershipHandler();
and that will mess the code later by throwing NullPointerException, when calling other
methods from the API - I think it should throw NullPointerException right away.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: