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

Incorrect ViolationContraint getRootBean when removing bean with embedded entity validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0, 2.1.1, 2.2.0
    • 2.2.0
    • kernel
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: