Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-855

Different result of OperationContext.getFilterString and OperationContext.getFilter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • OpenCMIS 0.12.0
    • None
    • opencmis-client
    • None

    Description

      There are two methods in the OperationContext that return the content of the "filter" property. But they return a different result and it's not clear to me why.

      The getFilterString dynamically adds PropertyIds::OBJECT_ID, PropertyIds::BASE_TYPE_ID and PropertyIds::OBJECT_TYPE_ID to the result.

      If loadSecondaryTypeProperties is true the value PropertyIds::SECONDARY_OBJECT_TYPE_IDS is also added.

      I don't see any reason why this is only implemented in the "string" method and not also in the getFilter method which returns a Collection.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sascha.egerer Sascha Egerer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: