Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-879

Spring REST exception handling fails on platform > 2.4.0

    XMLWordPrintable

    Details

      Description

      How to reproduce; Do a POST request to an encounter endpoint with an empty body

      POST https://qa-refapp.openmrs.org/openmrs/ws/rest/v1/encounter
      body {}

      Results; here ; status code = 500

       Expected output;  here ; status code = 400

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dkayiwa Daniel Kayiwa
                Reporter:
                corneliouzbett Bett Kipchumba
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: