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

Vertical inheritance: record still inserted into parent db table when child validation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 4.0.M3, 4.0.B1
    • Undefined future
    • Core Library
    • None

    Description

      When using vertical inheritance, if a child record has a mandatory relationship which is not set, commit will still go through without any errors. However, in database it will create only a record in the parent table without a corresponding child record.

      Attaching patch with a unit test demonstrating the issue.

      Attachments

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              demitri Dzmitry Kazimirchyk
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: