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

Services should be allowed to filter changes based on selected fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CSD01
    • Fix Version/s: V4.0_CSD02
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      Currently, users are allowed to specify $select in a query for which they track changes, but the $select must not be used to determine whether or not a change matches. That is, the service must return a change to the record even if it doesn't match one of the selected fields. Also, we allow the client to specify a $select on the delta link to request back a different set of fields than on the initial query.

      While many services will not be able to filter based on the set of selected fields (at least until they do change tracking on filtered results), we should allow those that do to be able to do so. Not filtering based on selected fields simply results in over-notification, so this doesn't break anything, but if a client is expecting to get changes for non-selected fields and does not then it would be a data loss.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: