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

Creating a person with "boolean" attribute causes an error

    Details

    • Complexity:
      Medium

      Description

      POST method throws error when creating a patient with a java.lang.Boolean attribute.

      The sample JSON POST message is:

      {"gender":"M","attributes":[{"value":"SINGLE","attributeType":"8d871f2a-c2cc-11de-8d13-0010c6dffd0f"},{"value":"hhh@ksd.com","attributeType":"3c64c1aa-0401-47f7-aa9d-73d803a90e22"},{"value":"1234567","attributeType":"c33cd0ad-dfaf-4dc6-9bc5-af295fc125af"},{"value":"India","attributeType":"8d871afc-c2cc-11de-8d13-0010c6dffd0f"},{"value":"IT","attributeType":"72655c29-a284-4d22-a765-979b3c0b6e16"},{"value":"Something at event","attributeType":"8cce985b-404b-4ba2-a140-92cb9c9e8a3f"},{"value":"my nominee","attributeType":"b2419c4c-9c65-482b-8cf3-3b8683452916"},{"value":"y","attributeType":"13de13b6-6c3a-45ca-bdbc-2a80312b5756"},{"value":true,"attributeType":"403035e7-b1e4-4d5d-815c-6b5cef5626a9"}],"addresses":[{"address1":"317,B-Block,AECS Layout","stateProvince":"Karnataka","address2":"Kundanahalli","country":"India"}],"names":[{"familyName":"lastname","givenName":"firstname"}],"age":26}
      
      

      Attached is the error message

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  harsha89 Harsha Kumara
                  Reporter:
                  kavuri Sateesh Kavuri
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: