[
http://jira.amdatu.org/jira/browse/AMDATU-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bram de Kruijff resolved AMDATU-404.
------------------------------------
Assignee: Marcel Offermans
Resolution: Fixed
1) Validated that a call to the PAX UserAdminImpl#getRoles(null) translates
into a StorageProvider#findRoles(factory, null)
2) Added junit test that reproduces the issue
3) Changed code to accept null and return all roles
> FSUserAdminStorageProvider#findRoles(NULL) result is incorrect
> --------------------------------------------------------------
>
> Key: AMDATU-404
> URL: http://jira.amdatu.org/jira/browse/AMDATU-404
> Project: Amdatu
> Issue Type: Bug
> Components: Amdatu Core
> Affects Versions: 0.3.0-M0
> Reporter: Bram de Kruijff
> Assignee: Marcel Offermans
>
> UserAdmin#getRoles(null) should return all Role objects (OSGi cpmn R42
> 107.8.6.4) but the FSUserAdminStorageProvider#findRoles(NULL) throws a
> StorageException when null is passed in.
> Traced this from log messages as show below:
> [2011-07-27 17:59:35] ERROR:
> [org.ops4j.pax.useradmin.service.internal.UserAdminImpl] null
> [org.ops4j.pax.useradmin.pax-useradmin-service]
> [2011-07-27 17:59:35] ERROR:
> [org.ops4j.pax.useradmin.service.internal.UserAdminImpl] null
> [org.ops4j.pax.useradmin.pax-useradmin-service]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers