Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1984

Incorrect ViolationContraint getRootBean when removing bean with embedded entity validation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: