Modern UX Only - Documents cannot be uploaded into attachment attributes of Risk, Issue and Change Request objects
search cancel

Modern UX Only - Documents cannot be uploaded into attachment attributes of Risk, Issue and Change Request objects

book

Article ID: 225026

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

An issue has been noticed with uploading documents into the Risk, Issue and Change Request objects from the Modern UX.

Also note that:

  1. Upload is possible through the Classic UI 
  2. Happens to an account with all the rights in the system 
  3. Same behavior against Risk and Issue objects as well 

Steps to Reproduce: 

  1. Navigate to Administration -> Objects. Filter for the "Change Request" object
  2. Navigate into the object -> Attributes tab. Click on New
  3. Provide Name, ID for the attribute. Choose Data Type as "Attachment". Choose "Multiple Documents". Provide an API Attribute ID
  4. Navigate to the Modern UX
  5. Open a Project that has "Changes" tab displayed within it
  6. Create a new instance. Click on Details
  7. Click on Configure -> Select the attribute created in Step 3 and display it. Exit
  8. Upload a document against this attribute

Expected Results: Document is uploaded successfully

Actual Results: Document is not uploaded. The following error is thrown in the UI:

API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.
Following error is thrown in the app-ca.log:
ERROR 3333-23-21 44:88:31,573 [http-nio-80-exec-151] security.RiskIssueChangeSecurityDelegate (clarity:admin:5364__D0356143-1-4343-B38F-27D1D5279C93:PPM_REST_API) Can't load Object of type: null
java.lang.NullPointerException
 at com.niku.odf.object.ObjectControllerImpl.getNewODFObject(ObjectControllerImpl.java:464)
 at com.niku.union.odf.ObjectController.getODFObject(ObjectController.java:495)
 at com.niku.union.odf.ObjectController.getODFObject(ObjectController.java:392)  

Environment

Release: 15.9.3

Cause

DE62706 

Resolution

Fixed in Release 16.0.0