Project

General

Profile

Actions

bug #7027

closed

GrantedAuthorityImpl.authority entities inconsistent

Added by Andreas Kohlbecker over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

The operation part in the CdmAuthorities appear to be created inconsistently. Originally the single CRUD entries concatenated with a comma only, by now it is comma + space, this leads to inconsistent data:

REGISTRATION.[CREATE,READ,UPDATE,DELETE]
REGISTRATION.[CREATE,READ]
TAXONNAME.[UPDATE,DELETE]{3747ffff-e6a3-4daa-90fd-120ca058dc03}
TAXONNAME.[UPDATE,DELETE]{0d363647-f866-424d-ae27-4f0afa318b10}
TAXONNAME.[CREATE,READ]
TAXONNAME.[UPDATE, DELETE]{73c99d6e-113f-4802-ae6a-930e7abc0bd1}
TAXONNAME.[UPDATE, DELETE]{0d363647-f866-424d-ae27-4f0afa318b10}

it is unknown since when this is happening, but it is for sure due to changes in the toString method of EnumSet which is used by the CdmAuthorities.toString() method.

The stringification of CdmAuthorities must be independent an robust!

Actions

Also available in: Atom PDF