Uploaded image for project: 'OASIS OSLC Lifecycle Integration Core (OSLC Core) TC'
  1. OASIS OSLC Lifecycle Integration Core (OSLC Core) TC
  2. OSLCCORE-147

Behaviour if a property is specified in oslc.where that does not exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Core, Query
    • Labels:
      None
    • Proposal:
      Hide

      The spec should be updated to say:

      If oslc.where specifies a property with an unknown namespace, the response should be 400 Bad Request.

      If oslc.where specifies a property that has an defined namespace prefix, but the property is not known, for example not defined in the resource shape for that type of resource, an implementation MAY do either of:

      1) Respond with a 400 Bad Request as described in Error Handling. This is appropriate for implementations that have finite and enumerable properties of resources that cannot determine how to query for undefined properties.

      2) Execute the query and return a normal query response. This is appropriate for implementations that have open sets of properties, not all of which might be in a resource shape.

      Show
      The spec should be updated to say: If oslc.where specifies a property with an unknown namespace, the response should be 400 Bad Request. If oslc.where specifies a property that has an defined namespace prefix, but the property is not known, for example not defined in the resource shape for that type of resource, an implementation MAY do either of: 1) Respond with a 400 Bad Request as described in Error Handling. This is appropriate for implementations that have finite and enumerable properties of resources that cannot determine how to query for undefined properties. 2) Execute the query and return a normal query response. This is appropriate for implementations that have open sets of properties, not all of which might be in a resource shape.

      Description

      The OSLC Query 2.0 spec does not define the expected behaviour if a property is specified in oslc.where that does not exist.

        Attachments

          Activity

            People

            • Assignee:
              jamsden James Amsden
              Reporter:
              DavidHoney David Honey
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: