OpenJPA
  1. OpenJPA
  2. OPENJPA-1984

Incorrect ViolationContraint getRootBean when removing bean with embedded entity validation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.1.1, 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: kernel
    • Labels:
      None

      Description

      When bean validation is performed during em.remove() against an entity with embedded entity and if the failing constraint occurred in the embedded entity, the root bean set in the ValidationConstraint returns in the ViolationConstraintException is incorrectly set to the embbedded entity, whereas the top level entity is expected.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Albert Lee
            Reporter:
            Albert Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development