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

        Albert Lee created issue -
        Albert Lee made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Albert Lee made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Albert Lee made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2d 21h 35m 1 Albert Lee 27/Apr/11 19:47
        In Progress In Progress Resolved Resolved
        1m 4s 1 Albert Lee 27/Apr/11 19:48
        Resolved Resolved Closed Closed
        10s 1 Albert Lee 27/Apr/11 19:48

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development