Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-17001

Querying the audit with cmis throws 'CmisRuntimeException: maxResults must be greater than 0'

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.0.4, 5.2.N
    • Fix Version/s: 5.1.2
    • Component/s: Auditing, CMIS
    • Labels:
      None
    • Environment:

      Description

      Steps to reproduce:
      1. Enable CMIS Change Log and Alfresco Access.
      2. Create some files and folders
      3. Get the latest change token.
      4. Try to get content changes from the cmis session

      ItemIterable<ChangeEvent> events = session.getContentChanges(token, false)
      

      4. Try to get each event

      for (ChangeEvent event : events)
      {
          ...
      }
      

      Expected result
      Events are retrieved.

      Actual result
      CmisRuntimeException: maxResults must be greater than 0 is thrown.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  bbocancea Bogdan Bocancea
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 6 hours
                    6h

                      Structure Helper Panel