-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[12.7.1] Error: <rect> attribute width: Expected length, "NaN". #822
Comments
Cannot reproduce on demo.bpmn.io along with [email protected]. Please share concrete steps to reproduce the issue. |
It doesn't happen there, you're right. Well, I could try creating a reproduction, yes. Before that, maybe you'll have an idea: The error happens in
I see in the
Not sure if that helps you? The issue also happens with |
Please ensure you can clearly reproduce when it starts to fail: I don't see how it could be caused by the patch releases. Please also share some more details on how you use diagram-js. #817 could be the relevant change that broke your setup, but we'd need to understand how. |
Thanks for taking the time! As I mentioned in the first post, 12.7.0 works fine, 12.7.1 and 12.7.2 break. So the issue has appeared between 12.7.0 and 12.7.1. As for how I use this.modeler = new BpmnNavigatedViewer({
container: this.element as HTMLElement,
bpmnRenderer: {
defaultFillColor: 'var(--bs-body-bg)',
defaultStrokeColor: 'var(--bs-body-color)',
},
});
await this.modeler.importXML(model); The rest you can see from the stack-trace I pasted above - it starts with the |
If it broke with v12.7.1 then 00d8c28 may be relevant. You could debug it to see if it the culprit. |
Does that help? |
Describe the Bug
Updating from 12.7.0 to 12.7.1 leads to these validation errors in Chrome:
Error: <rect> attribute width: Expected length, "NaN".
Steps to Reproduce
Just open any definition.
Expected Behavior
No such error.
Environment
Please complete the following information:
The text was updated successfully, but these errors were encountered: