ERnsTL / flowd

An inter-language runtime for flow-based programming (FBP)
Other
25 stars 2 forks source link

Fix component width null #237

Closed ERnsTL closed 1 year ago

ERnsTL commented 1 year ago
[TRACE] (client-handler ) tungstenite::protocol: [/home/ernst/.cargo/registry/src/github.com-1ecc6299db9ec823/tungstenite-0.17.3/src/protocol/mod.rs:311] Received message {"protocol":"graph","command":"changenode","payload":{"id":"LibComponent_zw7cy","metadata":{"x":72,"y":216,"width":null,"height":72,"label":"LibComponent"},"graph":"main_graph","secret":""}}
[INFO ] (client-handler ) got a text|binary message
thread 'client-handler' panicked at 'failed to decode JSON message: Error("invalid type: null, expected u32", line: 1, column: 119)', flowd-rs/src/main.rs:194:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ERnsTL commented 1 year ago
ERnsTL commented 1 year ago

To reproduce:

Looks like this after addnode:

Bildschirmfoto vom 2022-10-24 19-44-12

Looks like this after reload:

Bildschirmfoto vom 2022-10-24 19-44-21

ERnsTL commented 1 year ago
ERnsTL commented 1 year ago

-> issue noflo-ui side remains