Project

General

Profile

Actions

Defect #470

closed

Duplicate org name in the same level

Added by Filip Měšťánek almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Tree structures
Target version:
Start date:
05/31/2017
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

It is now possible to create multiple organizations with the same name on the same level. See the image with the 2 "testRoot" organization on the same level.


Files

dupl_name.png (7.67 KB) dupl_name.png Filip Měšťánek, 05/31/2017 02:52 PM
1111.png (12.2 KB) 1111.png Ondřej Kopr, 06/08/2017 10:16 AM
Actions #1

Updated by Radek Tomiška almost 7 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #2

Updated by Radek Tomiška almost 7 years ago

  • Category set to Tree structures
  • Status changed from New to In Progress
  • Target version set to Citrine (7.3.0)
Actions #3

Updated by Radek Tomiška almost 7 years ago

  • Target version deleted (Citrine (7.3.0))
Actions #4

Updated by Radek Tomiška almost 7 years ago

  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • Target version set to Citrine (7.3.0)
  • % Done changed from 0 to 90

I've added forgotten valitaion to node's name on the same level.

Could you do a feedback, pls?

Actions #5

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from In Progress to Needs feedback
Actions #6

Updated by Ondřej Kopr almost 7 years ago

  • File 1111.png 1111.png added
  • Assignee changed from Ondřej Kopr to Radek Tomiška

Thank you for fix this bug. I just found some minor issue when create (not update) duplicit node (code) get internal server error see image:

Try to some debug and exception is throw in class: AbstractForestIndexService method: countIndex, row 117 entityManager.*flush*(); and ExceptionControllerAdvice dont catch ConstraintViolationException.
Is neccessary to solve this problem now?

Everything else works.

Actions #7

Updated by Radek Tomiška almost 7 years ago

  • Assignee changed from Radek Tomiška to Ondřej Kopr

I've added localization for code conflict exception.

Could you do a feedback, pls?

Actions #8

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from Needs feedback to Resolved
  • % Done changed from 90 to 100

Nice! Now works everything.

Actions #9

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF