Skip to content

Conversation

@tbouffard
Copy link
Member

@tbouffard tbouffard commented May 22, 2024

Previously, this generated an error in ConnectionHandler because the default mapping value was invalid (null is not allowed) and the error opened a MaxLog without error message. ConnectionHandler has been updated to better track such an error.

The ContexIcons story exhibited the problem. It is now fully working. It has also been migrated to TypeScript to ease future maintenance.

Also update the ConnectionHandler.start method signature as part of the migration of the story to TypeScript.
The edgeState parameter can now be undefined, a default value was already managed in code.

Notes

Closes #73
The fix was inspired by inspired from 0bdae3b

ContextIcons_work

Previously, this generated an error in `ConnectionHandler` because the default mapping value was
invalid (null is not allowed) and the error opened a MaxLog without error message.
ConnectionHandler has been updated to better track such an error.

The `ContexIcons` story exhibited the problem. It is now fully working.
It has also been migrated to TypeScript to ease future maintenance.

Also update the `ConnectionHandler.start` method signature as part of the migration of the story to
TypeScript.
The `edgeState` parameter can now be undefined, a default value was already managed in code.
@tbouffard tbouffard added the bug Something isn't working label May 22, 2024
@tbouffard tbouffard marked this pull request as ready for review May 22, 2024 18:39
@tbouffard tbouffard merged commit 2dfdea7 into main May 23, 2024
@tbouffard tbouffard deleted the fix/Graph.cloneCell_no_mapping_error branch May 23, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Question] Useful testing review

1 participant