XOG out an Attachment File
search cancel

XOG out an Attachment File

book

Article ID: 18422

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Description:

The XOG out action was working perfectly on 13.2, but we upgraded to 13.3 and it is not able to XOG out the document.
It returns following Warning:

<Description>XOG-9100: Failed to export document(s) on object type: my_custom_object, </Description>

This issue is reproducible only when storeFilesInDatabase setting is set to true in properties.xml
The Attachment xog out is using DMS API which creates directories in the documentLocation specified in xog file.
The code is not creating directories in documentLocation if storeFilesInDatabase="true" further it fails to write on directories which were not created

Steps to Reproduce:

  1. Use an existing implementation where the configuration for file storage is set to use the Database
  2. Be sure the target directory has appropriate permissions for allowing files to be created and updated
  3. Try to XOG out an document with custom object with example input:
    ------------------------ cut ---------------------- <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">      <Header action="read" externalSource="NIKU" objectType="customObjectInstance" version="13.3">            <args name="documentLocation" value="/home/clarity/niku/temp"/>      </Header>      <CustomObjectInstanceQuery>       <Filter criteria="EQUALS" name="objectCode">my_custom_object</Filter>       <Filter criteria="OR" name="instanceCode">ABC-0001</Filter>      </CustomObjectInstanceQuery>     </NikuDataBus> ------------------------ cut ---------------------- 

 

Expected Result: Document XOG out
Actual Result: XOG errors out with error XOG-9100 : Failed to export document(s) on object type

 

Solution:

WORKAROUND:

None.

STATUS/RESOLUTION:

CLRT-73846
Includes CLRT-74470 and CLRT-74740 ; both marked as duplicates to this issue.

Resolved in Clarity 13.3 Generic Patch. Reference TEC605767
Resolved in CA PPM 14.1  

Environment

Release: ESPCLA99000-13.2-Clarity-Extended Support Plus
Component: