bpmn-visualization-js icon indicating copy to clipboard operation
bpmn-visualization-js copied to clipboard

[FEAT] Manage BPMN input source parsing warnings/errors

Open tbouffard opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. The lib should provide feedback and/or callbacks for any parsing errors/warnings that occurs on BPMN source input load.

Describe the solution you'd like In the 1st implementation (#22), we skip this part as we only managed the happy path. As a consequence, some TODO remain in the code. As for #21, we must manage all runtime parsing errors/warnings to provide feedback to the end user or allow the developer who integrates our lib to detect them.

Describe alternatives you've considered N/A

Additional context N/A

tbouffard avatar Mar 05 '20 09:03 tbouffard

This may be managed by #54

tbouffard avatar Mar 06 '20 16:03 tbouffard

In v0.19.0, we introduced an internal mechanism to collect the parsing warnings. See #1479. The warnings are currently only logged in the console, but the infrastructure is here to be able to return them at the end of the load processing.

tbouffard avatar Jun 16 '22 13:06 tbouffard