Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1047

Edmx validation for multi level entity type inheritance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • V2 2.0.8
    • odata2-core
    • None

    Description

      The current behavior for edmx validation where an Entity type has a base entity type is handled for 1 level only.
      For Entity type which has multiple level of base types and if the direct base type does not have key an error is thrown.
      e.g. if entity type StringDataConfigParameter has base type DataConfigParameter and DataConfigParameter has base type ConfigParameter and ConfigParameter has a key but DataConfigParameter does not have a key then while validating StringDataConfigParameter only DataConfigParameter is checked for the key and if key is not there error is thrown.
      Such scenarios should also be validated till the last entity base type.

      Attachments

        1. diff.patch
          9 kB
          Archana Rai

        Activity

          People

            chrisam Christian Amend
            archanarai Archana Rai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: