Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-221

Flatten the message element in the JSON Error Represention (Section 4.18 Representing Errors in a Response)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: ATOM Format, JSON Format
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      As discussed in meeting#23 on 2013-01-30 in the current revision of [OData JSON Format Version 1.0 Working Draft 01](https://www.oasis-open.org/committees/download.php/48030/odata-json-format-v1.0-wd01-2013-01-25.doc) inside section 4.18 Representing Errors in a Response the type of the message element shoudl be changed as proposed, since the language selected should be a global property of the response as noted in the response headers and derived from the client preferences as noted in the request headers.

        Attachments

          Activity

          sdrees Stefan Drees (Inactive) created issue -
          ralfhandl Ralf Handl made changes -
          Field Original Value New Value
          Environment [Proposed]
          ralfhandl Ralf Handl made changes -
          Summary Flatten the message elemtn in the JSON Error Represention (Section 4.18 Representing Errors in a Response) Flatten the message element in the JSON Error Represention (Section 4.18 Representing Errors in a Response)
          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          If we do this, we should also remove any reference to xml:lang in the atom representation.

          Show
          mikep Michael Pizzo (Inactive) added a comment - If we do this, we should also remove any reference to xml:lang in the atom representation.
          ralfhandl Ralf Handl made changes -
          Component/s OData ATOM Format v1.0 [ 10271 ]
          Proposal Inside a JSON Error Message in a Response the message should better be noted as "message": "mesag_value" instead of "message" : { "lang": "lang-code", "value: "message-value"} Inside a JSON Error Message in a Response the message should better be noted as "message": "mesag_value" instead of "message" : { "lang": "lang-code", "value: "message-value"}

          Remove special mentioning of xml:lang in Atom format specification.
          ralfhandl Ralf Handl made changes -
          Proposal Inside a JSON Error Message in a Response the message should better be noted as "message": "mesag_value" instead of "message" : { "lang": "lang-code", "value: "message-value"}

          Remove special mentioning of xml:lang in Atom format specification.
          Inside a JSON Error Message in a Response the message should better be noted as "message": "mesag_value" instead of "message" : { "lang": "lang-code", "value: "message-value"}

          Remove special mentioning of xml:lang in Atom format specification.

          Accepted: https://www.oasis-open.org/committees/download.php/48269/odata-meeting-25_on-20130214-minutes.html#odata-221
          Status New [ 10000 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ]
          handl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              sdrees Stefan Drees (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: