camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.05k stars 1.53k forks source link

User names are not displayed correctly for user operations in cockpit #2752

Open ThorbenLindhauer opened 1 year ago

ThorbenLindhauer commented 1 year ago

This issue was imported from JIRA:

Field Value
JIRA Link CAM-14799
Reporter @danielkelemen
Has restricted visibility comments true

Environment (Required on creation):

All platform versions, in cockpit under user operations.

h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

User names are not displayed correctly.

h3. Steps to reproduce (Required on creation): 

Open a process definition and go into History > User operations tab, look at the User column. You can suspend and activate the process in order to quickly generate data for the table.

h3. Observed Behavior (Required on creation): 

Only one user's full name is displayed correctly, the rest are only user ids.

h3. Expected behavior (Required on creation): 

All the users full names' are displayed.

h3. Root Cause (Required on prioritization): 

The array for the idIn parameter is passed incorrectly.

.list({idIn: uniqueIds, maxResults: uniqueIds.length})
h3. Solution Ideas (Optional): 

Add a toString(): uniqueIds.toString().

h3. Hints (optional):

Links:

AlexanderSkrock commented 11 months ago

Hi there,

I would like to take on this as my first issue in this repo.

To explore the bug and also the peripheral code, I wanted to reproduce the behaviour locally. Tho, when I am right, this is an enterprise feature, right? Is there a possibility to start an enterprise version for development / debugging?

Either way, I would go for a testcase first, but right now I have no idea what portion of code to start at.

Kind regards Alexander Skrock

tasso94 commented 11 months ago

Hi @AlexanderSkrock,

Unfortunately, the source of our enterprise web app is not available. I'm afraid you cannot work on this issue.

However, here are some easy picks for the community edition web apps you could have a look at:

Best, Tassilo

AlexanderSkrock commented 11 months ago

Hi @tasso94 ,

thank you for the response! I'll have a look on your linked issues.

Kind regards Alexander Skrock