Item Revision Will Not Have Attachment File Copied When Using IAgileSession.disableAllWarnings API

(Doc ID 1992574.1)

Last updated on APRIL 08, 2015

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior
When trying to add item with attachment file using IChange object to Affected Item Table after IAgileSession.disableAllWarnings() is called, the new item revision will not have the attachment file copied and is not displayed in Web Client.
However the attachment tab has an attachment icon displayed.

Smart Rule : Copy Files To Rev - File Folders is set to Reference.

Expected Behavior
When trying to add item with attachment file using IChange object to Affected Item Table after IAgileSession.disableAllWarnings() is called, the new item revision will have the attachment file copied and is displayed in Web Client.

Steps
1. From Java Client, Set Smart Rule

Copy Files to Rev - File Folders : Reference

2. Create 2 item. Both have same attachments.

TESTITEM001
- test1.xls - FOLDER00282

TESTITEM002
- test1.xls - FOLDER00282

3. Create Change Order : IR000623. Item is not attached to Affected Items tab.
4. Run the following sdk program.

  

5. Check the Web Client

Change Order : IR000623, Affected Items tab has below items set:

TESTITEM001
TESTITEM002

6. TESTITEM001 attachments has file test1.xls set.

7. TESTITEM002 does not have any files on attachments tab.
    However the attachment tab shows attachment icon, mentioning as if file exists.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms