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

MediaEntity Type: HasStream is not inherited

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • (Java) V4 4.1.0
    • (Java) V4 4.2.0
    • odata4-server
    • None

    Description

      I have an entity that has no HasStream attribute and a BaseType which has HasStream set to true. Creation of the media entity fails as the type isn't recognized as a media entity.

      From the spec "The value of the the HasStream attribute is inherited by all derived types."
      In the method hasStream of EdmEntityTypeImpl only the current type is checked.

      The hasStream Method should return true if the current type has a stream or the base type has a stream.

      Attachments

        Activity

          People

            chrisam Christian Amend
            frederik.zimmer Frederik Zimmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: