Support Article
FileNet CMIS Service delete object leaves attachment link
SA-5495
Summary
An error is reported when deleting an attachment from PRPC, which is stored in FileNet. However, the file is deleted. The attachment link is not removed from the work object.
Error Messages
2015-01-08 14:58:14,852 [fault (self-tuning)'] [TABTHREAD1] [RuleSet:01.01.01] (nvoke.Rule_Connect_CMIS.Action) ERROR server|application|Rule-Connect-CMIS.CMIS-ServiceData.RuleName - com.pega.pegarules.pub.services.RemoteApplicationException: CMIS service 'deleteObject' failed
com.pega.pegarules.pub.services.RemoteApplicationException: CMIS service 'deleteObject' failed
at com.pegarules.generated.activity.ra_action_invokecmisconnector_05a60dc3dc5495f7fb86b86db17d0ec4.step11_circum0(ra_action_invokecmisconnector_05a60dc3dc5495f7fb86b86db17d0ec4.java:2161)
Steps to Reproduce
- Integrate FileNet with PRPC 6.2 SP2.
- Delete an attachment using the trash icon from the attachment list in the work object Audit tab.
Root Cause
A defect in Pegasystems' code or rules:
The attachment is deleted, but the code tries to delete it again. This ends up failing and leaves the link on the work object.
Resolution
Perform the following local-change:
Save the Work-.DeleteAttachment activity to ruleset, and comment out steps 11 and 12.
Note: This issue is resolved in PRPC 6.3.
Published November 8, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.