Support Article

Access Denied: Cannot upload, attach files after upgrade (CMIS)

SA-34597

Summary



After upgrading a Pega application to Pega 7.2.1, users are unable to upload or attach files to CMIS. If users do not have access to the Root directory in CMIS, they will see Access Denied errors after upgrading to Pega 7.2.1 or a later release.This functionality was working before the upgrade.

Users who upgrade might not notice anything on the Pega side at all, but will find that their files are inappropriately being stored in the Root directory of the CMIS repository.

Pega applications from Pega 7.2 or earlier releases that are upgraded to Pega 7.2.1 or a later releaes will encounter this problem.


Error Messages



Access denied


Steps to Reproduce

  1. Log in to the Pega application.
  2. Perform the Upload and Attach file action that saves a file to CMIS repository.
  3. Attempt to Create Document USING A FOLDER ID to store a document in a non-Root directory in CMIS, either in an Activity rule or by adding attachments to a case.
  4. Check the operation status for any Access Denied errors.


Root Cause



A defect in Pegasystems’ code or rules

The Pega application is using the Connect-CMIS connector rule to store files in a CMIS (Content Management Interoperability Services) repository. Connect-CMIS is trying to upload the files to the CMIS repository under the "Root" directory of the repository rather than the directory selected in the Application configuration.

Resolution



Apply HFix-32701.

For more detail, see this Product Support Community post, https://pdn.pega.com/community/product-support/question/cmis-connector-may-fail-store-content-folders-cmis-repositories

Published March 6, 2017 - Updated March 13, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.