Tasks Timeline Details view and attachments.
search cancel

Tasks Timeline Details view and attachments.

book

Article ID: 442381

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS Clarity FedRAMP

Issue/Introduction

Unable to attach documents in Modern UX to multiple tasks on the Project Tasks Timeline Details view.
 
STEPS TO REPRODUCE:
  1. Go to Classic > Studio > Objects
  2. Create two attachment type attributes: one being a single document type and the other one being a multiple document type
  3. Go to MUX > Projects and open the Tasks module
  4. Create two tasks and add both Attachment type attribute to the Details view.
  5. On the grid view, select the first task and open the Details view.
  6. Add a file to the attachment type attributes
  7. Files are added correctly to the task
  8. Select the second task on the grid and add a file to the attachment type attributes on the Details view.
  9. Files are added correctly to the task
  10. Remove the attached files.
  11. On the Timeline view, select the first task and open the Details view.
  12. Add a file to the attachment type attributes
  13. Select the second task on the timeline view and add a file to the attachment type attributes on the Details view
 
Expected Results: The attachment to be added to the selected task 
Actual Results: Using the Multiple Documents type attribute files are added to the first task instead. Unable to add a file to the Single Documents type attribute as you receive an error: Maximum number of files uploaded are 1.
 
app-ca.log file shows the following error when trying at add a file to the Single Document type attribute:
 
ERROR 2026-06-01 03:04:49,427 [http-nio-1641-exec-31] ppm.rest (clarity:myuser:mysession:PPM_REST_API)  File upload is failed with Max number of files allowed error. max file allowed = 1. Total files tried = 2. Number of files in current request =  1
ERROR 2026-06-01 03:04:49,431 [http-nio-1641-exec-31] ppm.rest (clarity:myuser:mysession:PPM_REST_API) 
com.ca.ppm.rest.exception.BadRequestException: Maximum number of files uploaded are 1.
at com.ca.platform.osf.object.rest.validator.AttachmentValidator.validateMaxNumberOfAttachmentFiles(AttachmentValidator.java:107)
at com.ca.platform.osf.object.rest.validator.AttachmentValidator.validatePostRequest(AttachmentValidator.java:59)
at com.ca.platform.osf.object.rest.validator.ODFAttachmentValidator.validatePostRequest(ODFAttachmentValidator.java:105)
at com.ca.platform.osf.object.processor.ODFAttachmentProcessor.uploadAttachments(ODFAttachmentProcessor.java:92)
at com.ca.platform.osf.object.rest.function.AttachmentFunctionResource.create(AttachmentFunctionResource.java:445)
at com.ca.ppm.rest.provider.FunctionResourceProvider.createResource(FunctionResourceProvider.java:168)
at com.ca.ppm.rest.provider.FunctionResourceProvider.createEntity(FunctionResourceProvider.java:140)
at com.ca.ppm.rest.resource.BaseResourceHandler.createAttachmentResource(BaseResourceHandler.java:834)
at com.ca.ppm.rest.resource.AttachmentResourceHandler.postAttachmentResource(AttachmentResourceHandler.java:86)

Environment

Clarity 16.4.0, 16.4.1

Resolution

This is not reproducible in Clarity 16.4.2