Project

General

Profile

Actions

bug #7027

closed

GrantedAuthorityImpl.authority entities inconsistent

Added by Andreas Kohlbecker about 6 years ago. Updated about 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 #1

Updated by Andreas Kohlbecker about 6 years ago

  • Severity changed from critical to normal

This is not causing problems during the parsing or evaluation of authorities. I will commit the according test quite soon.

Actions #2

Updated by Andreas Kohlbecker about 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #3

Updated by Andreas Kohlbecker about 6 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100
Actions #4

Updated by Andreas Müller about 6 years ago

  • Subject changed from GrantedAuthorityImpl.authority enties inconsistent to GrantedAuthorityImpl.authority entities inconsistent
Actions

Also available in: Atom PDF