Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

ResourceRoleRepository.getRoleByCode should not throw NullPointerException #145

Closed
gorbunkov opened this issue Feb 7, 2022 · 1 comment
Assignees
Milestone

Comments

@gorbunkov
Copy link
Contributor

Currently, the getRoleByCode() method of ResourceRoleRepository and RowLevelRoleRepository throws NullPointerException in case the role with the given code doesn't exist. It seems that this is not a correct exception type.

@gorbunkov gorbunkov added this to the 1.2.0 milestone Feb 7, 2022
@Flaurite
Copy link
Contributor

Flaurite commented Feb 7, 2022

Fixed in: #110

@Flaurite Flaurite closed this as completed Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants