Unable to attach documents in Modern UX to multiple tasks on the Project Tasks Timeline Details view.
STEPS TO REPRODUCE:
- Go to Classic > Studio > Objects
- Create two attachment type attributes: one being a single document type and the other one being a multiple document type
- Go to MUX > Projects and open the Tasks module
- Create two tasks and add both Attachment type attribute to the Details view.
- On the grid view, select the first task and open the Details view.
- Add a file to the attachment type attributes
- Files are added correctly to the task
- Select the second task on the grid and add a file to the attachment type attributes on the Details view.
- Files are added correctly to the task
- Remove the attached files.
- On the Timeline view, select the first task and open the Details view.
- Add a file to the attachment type attributes
- 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)