Access Denied: Cannot upload, attach files after upgrade (CMIS)
SummaryAfter 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 MessagesAccess denied
Steps to Reproduce
- Log in to the Pega application.
- Perform the Upload and Attach file action that saves a file to CMIS repository.
- 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.
- Check the operation status for any Access Denied errors.
Root CauseA 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.
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