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

EntityProviderException HTTP status code 400 is not right

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V2 2.0.2
    • V2 2.0.7
    • odata2-core
    • None
    • Important

    Description

      I have a function import which expects an output of type Edm.Int16 but the function returns value greater than the expected range and it fails to cast and throws an EntityProviderException with http status code 400. I debugged the code and found Olingo always sets the EntityProviderException http status code to 400 by default in ODataExceptionWrapper. Here it is not a bad request. The status code is misleading. Please fix it.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chrisam Christian Amend
            sunichak Sunil Chakravarthy Dabburi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment