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

Camunda Forms are not rendering in Tasklist #3885

Closed hkupitz closed 12 months ago

hkupitz commented 1 year ago

Environment

Camunda 7 version: Camunda 7.20.0-ee Browser: Microsoft Edge Version 118.0.2088.46 (Official Build) (64-Bit)

Description

Using Camunda Forms doesn't seem to work properly anymore since the 7.20 update. When selecting the task in Tasklist, nothing is rendered and the user can't view/input any data. Deploying the same files on 7.19 works properly.

Steps to reproduce

  1. Create a Camunda Form
  2. Reference the Camunda Form in a BPMN process (via a user task)
  3. Deploy both resources (individually or as one deployment)
  4. Start a process instance
  5. Open Tasklist
  6. Click on the respective user task

Observed Behavior

When selecting the task in Tasklist, nothing is rendered and the user can't view/input any data. Additionally there are some errors in the developer console of the browser:

image

Expected behavior

When selecting the task in Tasklist, the deployed Camunda Form should render correctly so the user can view/input data.

Root cause

preact-markdown gets tree-shaken from the third-party lib bundle, which leads to text components not rendered.

Hints

image

Links

Breakdown

### Pull Requests
- [ ] https://github.com/camunda/camunda-bpm-platform-maintenance/pull/1097
- [ ] https://github.com/camunda/camunda-bpm-platform-ee-maintenance/pull/450

Dev2QA handover

gbetances089 commented 12 months ago

Tested on camunda-bpm-run-ee-7.20.1-20231020.134128-11

Screenshot 2023-10-23 at 13 23 37 Screenshot 2023-10-23 at 13 25 32