Error "API-1019..." with Group By filter when list view contains an attachment field in MUX
search cancel

Error "API-1019..." with Group By filter when list view contains an attachment field in MUX

book

Article ID: 213488

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

In the Modern User Experience (UX / MUX) Idea, Projects, Custom Investments, or Custom Objects modules, when performing a group by in the list view containing an attachment field, the generic error appears:

API-1019 : Could not process the request due to internal error.



The issue occurs when one of the selected columns in the flyout panel is of an attachment field type.

STEPS TO REPRODUCE:

  1. In the Classic UI, create an attribute of type attachment, single or multiple
    on the idea, project, custom object, or custom investment
  2. Provide the rest api attribute.
  3. In the Modern UX, create instance(s) of either object listed above and configure the flyout to contain the created attribute.
  4. Upload attachments to instance(s).
  5. Configure additional fields, such as the 'Name' field.
  6. Select any column, other than the attachment attribute and select the 'Group By' selection.

Expected Results: The 'Group By' filter should group by the selected column.

Actual Results: API-1019 : Could not process the request due to internal error." 

The following example error appears in the APP log:

ERROR 2021-04-26 12:09:01,932 [https-jsse-nio2-8043-exec-35] ppm.rest (clarity:admin:xxxxxx:PPM_REST_API) Exception processing request for resource [custCustominvTts], query string [/custCustominvTts?fields=name%2Ccode%2Cmanager%2CworkProgress%2CworkStage%2CisActive%2CblueprintId%2Cc_ttbroadcom_comment%2Ct_attachment%2C_isFavorite&groupBy=isActive&limit=100&tsvParams=%28workEffortUnit%3Dhours%29]
java.lang.NullPointerException 

Environment

Release : 15.9.1, 15.9.2

Component : CA PPM SAAS STUDIO

Resolution

This is fixed in 15.9.2 patch 1 and 15.9.3 - reported as DE60751

Workaround: Remove the attachment attribute from the list view.

Additional Information

See also:

Attachments