bpmn-io / diagram-js

A toolbox for displaying and modifying diagrams on the web.
MIT License
1.65k stars 418 forks source link

Plane elements show up in search results #914

Closed philippfromme closed 1 month ago

philippfromme commented 1 month ago

Describe the Bug

When using search, plane elements show up in the search results. This eventually results in an error when selecting them.

brave_ACQFyacLja

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a process with a non-empty collapsed sub-process
  2. Use search
  3. Plane elements show up in search results
  4. Selecting them results in an error

Expected Behavior

Plane elements do not show up in search results.

Environment

nikku commented 1 month ago

Should be duplicate / upstream bug of https://github.com/bpmn-io/bpmn-js/issues/2143, right? If so, let's link accordingly.

philippfromme commented 1 month ago

@nikku I wasn't aware. Seems to be the same issue, yes.

nikku commented 1 month ago

Closing as duplicate; will be fixed via https://github.com/bpmn-io/bpmn-js/issues/2143.