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

improve object attribute validation for entities with inheritance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0M5
    • Undefined future
    • Modeler
    • None
    • any

    Description

      Scenario:
      A model utilising inheritance is created. One of the object attributes is defined in the subclass. If one then presses the 'update from dbEntity' button the attribute will be assigned to the superclass as well. This leads to runtime errors once the application is built.

      Example can be found in the unit testing model called "multi-tier", if one goes to MtTable1 ObjEntity and presses the update button there the tests wont succeed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcin Marcin Skladaniec
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: