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

EdmProviderImpl aliasToNamespaceInfo incomplete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.8.0
    • (Java) V4 5.0.1
    • odata4-client
    • None

    Description

      According to odata-csdl-xml v4.01 specification chapter 4.1 a edmx:Reference can include multiple edmx:Include.

      Metadata document:

      <edmx:Reference Uri="/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_CAPABILITIES',Version='0001',SAP__Origin='LOCAL')/$value">
      <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
      <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="SAP__capabilities"/>
      </edmx:Reference>

       
      In this scenario aliasToNamespaceInfo attribute of the EdmProviderImpl object only contains the alias "SAP__capabilities", but not "Capabilities".
      In consequence it is not possible to e.g. read annotation groups using alias "Capabilities".

      Attachments

        1. aliasToNamespaceInfo.png
          12 kB
          Ronald
        2. metadata.xml
          27 kB
          Ronald

        Activity

          People

            Unassigned Unassigned
            Schertle Ronald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: