Unable to Remove Attachment From Complete/Cancel/Open Status PPM Object via SDK

(Doc ID 2309773.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle Agile Product Portfolio Management - Version 9.3.5.0 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior

For the Program/Phase/Activity/Gate objects in Complete/Cancel/Open status the Attachments table is not editable via SDK even though the user has enough privilege


Expected Behavior

For the Program/Phase/Activity/Gate objects in Complete/Cancel/Open status the Attachments table to be editable via SDK even though the user has enough privilege


What is Working

For the objects in Complete/Cancel/Open status the Attachments table is editable from Web Client the user has enough privilege


Steps

The issue can be reproduced at will with the following steps:

  1. Login to Java Client, and create modify privilege with below information:
    - Name:Test-ModifyAllTasks
    - Object Type: Activities
    - Criteria:
      Object Type: Activities
  2. Grant this privilege to admin user
  3. Login to Web Client as admin user
  4. Create Project, and add a Phase to it
  5. Goto Attachment tab of the Phase, and add a file
  6. Change the status of Phase to Complete. Confirm that the user can remove attachment file.
  7. Add a file again.
  8. Update the sample program so that the object name will match.
  9. Run the sample program file with below code:
     
  10. See below error occurs:
    Caused by: Error code : 60063
    Error message : Object is read-only
    Go back to Web Client, and change the status of Phase to Cancelled. Confirm that the user can remove attachment file.
  11. Add a file again.
  12. Run the sample program file. See below error occurs:
    Caused by: Error code : 60063
    Error message : Object is read-only
  13. Go back to Web Client, and change the status of Phase to Not Started
  14. Run the sample program file
  15. Go back to Web Client, and refresh the Attachment tab of the Phase. See the attachment file is removed.
  16. Create Gate. Confirm its Closed status
  17. Goto Attachment tab, and add a file
  18. Edit sample program so that the object number matches the gate, and run the sample program file
  19. Go back to Web Client, and refresh the Attachment tab of the Phase. See the attachment file is removed.
  20. Login to Java Client, and create modify privilege with below information:
    - Name:Test-ModifyAllGates
    - Object Type: Gates
    - Criteria:
      Object Type: Gates
  21. Grant this privilege to admin user
  22. Login to Web Client as admin user
  23. Add a Gate to the Project
  24. Goto Attachment tab of the Gate, and add a file
  25. Change the status of Gate to Open. Confirm that the user can remove attachment file.
  26. Add a file again.
  27. Update the sample program so that the object name will match.
  28. Run the sample program file. See below error occurs:
    Caused by: Error code : 60063
    Error message : Object is read-only

 

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