bpmn-io / dmn-js

View and edit DMN diagrams in the browser.
https://bpmn.io/toolkit/dmn-js/
Other
295 stars 137 forks source link

The bundled distro hangs on drill-down to literal expression #809

Open barmac opened 10 months ago

barmac commented 10 months ago

Describe the Bug

When I run the starter example and try to drill-down to literal expression, the code hangs on an infinite loop. The browser tab is effectively dead.

When I pause the execution in debugger, it displays CodeMirror code:

image

Steps to Reproduce

  1. Run the starter example (needs adjustment to run locally, e.g. replace https with http, change path to DMN)
  2. Convert a decision to literal expression
  3. Try to drill-down

Expected Behavior

It should work.

Environment

Please complete the following information:

barmac commented 10 months ago

This does not occur if you import Viewer from 'dmn-js'. You have to use prebundled distros to reproduce the error.

barmac commented 10 months ago

Note that i got somehow value of NaN. This can be the reason of the failure.

apmulet commented 9 months ago

Hello ... I was trying the bundle distro this week , and found the same infinite loop cause i = NAN when trying edit and empty cell on new tables Thanks for this comments... your doing a great Job !

nikku commented 7 months ago

Moving to backlog and spring cleaning.