RED-7049 - Wrong error code when adding entity with already existing rank - backport #373

Merged
corina.olariu.ext1 merged 1 commits from RED-7049-bp into release/2.349.x 2024-03-05 09:42:36 +01:00

1 Commits

Author SHA1 Message Date
Corina Olariu
ddfc156f13 RED-7049 - Wrong error code when adding entity with already existing rank - backport
- correct the query to get the type with same rank.
- changed to get the list of types instead of a one result for the case with several types with the same rank
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-04 15:40:16 +02:00