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

TechnicalEntityProcessor fails when an entity collection is requested and no entity set is defined

    XMLWordPrintableJSON

Details

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

    Description

      Line 510 of the TechnicalEntityProcessor expects an entity set for each entity collection to calculate the AtomID. This might not be true if the returned entity collection is part of a function import where no entity set is defined.

      final String id = request.getRawBaseUri() + edmEntitySet.getName();

      Attachments

        Activity

          People

            cholzer Christian Holzer
            chrisam Christian Amend
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: