Project

General

Profile

bug #7027

GrantedAuthorityImpl.authority entities inconsistent

Added by Andreas Kohlbecker about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
10/19/2017
Due date:
% Done:

100%

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!

Associated revisions

Revision fac124d1 (diff)
Added by Andreas Kohlbecker about 1 year ago

fix #7027 consistent toString method for CdmAuthorities and more tests

History

#1 Updated by Andreas Kohlbecker about 1 year 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.

#2 Updated by Andreas Kohlbecker about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#3 Updated by Andreas Kohlbecker about 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

#4 Updated by Andreas Müller about 1 year ago

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)