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.11k stars 1.55k forks source link

In Cockpit, call-activity incident message links are broken on history process definition view #4221

Closed tasso94 closed 3 months ago

tasso94 commented 6 months ago

Environment (Required on creation)

Camunda <= 7.21.0.

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

In Cockpit, call-activity incident message links are broken on the history process definition view.

Steps to reproduce (Required on creation)

  1. Deploy top-level process and subprocess (cf. https://jira.camunda.com/secure/attachment/76645/21173-test-processes.zip)
  2. Make an activity in the subprocess create an incident.
  3. Go into Cockpit to the process definition history view and open the incident tab.
  4. Click on the call activity incident on the message link.

Observed Behavior (Required on creation)

The following error message is shown:

image

Expected behavior (Required on creation)

No link is rendered.

Root Cause (Required on prioritization)

A link is rendered even though historyConfiguration of the incident is null.

Solution Ideas

Render no link when historyConfiguration of the incident is null.

Hints

Links

gbetances089 commented 4 months ago

We can cover this with an E2E test 👀