Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2848

Vertical Inheritance: Updating one-to-many with inverse nullifies other columns.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2
    • 4.2.1, 5.0-M1
    • None
    • None

    Description

      When there is a one-to-many relationship on the child DbEntity of a vertical inheritance scenario, giving it an inverse fails when the relationship is updated to anything non-null.

      An update query is issued that contains the PK of the child row and the new ID for the relationship, but sets every other column to null. I've included a breaking test as a patch in 4.2-STABLE.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            jhansell Jadon Hansell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: