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.12k stars 1.56k forks source link

[tasklist] - Console error after getting in the app and selected a task. #3552

Open gbetances089 opened 1 year ago

gbetances089 commented 1 year ago

Environment (Required on creation)

Found on the 7.20-Snapshot version on a Run/Postg combo

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

While going from any app (admin/cockpit) to tasklist, after selecting any of the tasks a console error is raise for an undefined property assignee.

Steps to reproduce (Required on creation)

1- From either admin or cockpit, click on the home button. 2- Select tasklist. 3- Click on any of the tasks.

Observed Behavior (Required on creation)

An error as follow deps.js?bust=7.20.0-SNAPSHOT:2 TypeError: Cannot read properties of undefined (reading 'assignee') shows on the console.

https://github.com/camunda/camunda-bpm-platform/assets/2312478/e0602035-d3ca-4cba-874e-88f94db5530f

Expected behavior (Required on creation)

No error shows on the console.

Root Cause (Required on prioritization)

Solution Ideas

Hints

Links

Breakdown

### Pull Requests

Dev2QA handover

amardeep2006 commented 2 months ago

This bug is present in Camunda 7.21 as well.

deps.js?bust=7.21.0:2 TypeError: Cannot read properties of undefined (reading 'assignee') at i.hasAssignee (camunda-tasklist-bootstrap.js?bust=7.21.0:2:309622) at fn (eval at compile (deps.js?bust=7.21.0:2:415977), <anonymous>:4:153) at u.$digest (deps.js?bust=7.21.0:2:411207) at u.$apply (deps.js?bust=7.21.0:2:413004) at c.done (camunda-tasklist-bootstrap.js?bust=7.21.0:2:110055) at camunda-tasklist-bootstrap.js?bust=7.21.0:2:5134 at push.11756.S.callback (deps.js?bust=7.21.0:159:1519992) at S.<anonymous> (deps.js?bust=7.21.0:159:1518057) at push.81724.t.emit (deps.js?bust=7.21.0:159:527811) at XMLHttpRequest.<anonymous> (deps.js?bust=7.21.0:159:1521708) push.95424.$get @ deps.js?bust=7.21.0:2