Skip to content

"too much recursion" error in stories using Codec directly #337

@tbouffard

Description

@tbouffard

As of version https://github.com/maxGraph/maxGraph/releases/tag/v0.6.0, codecs are no longer registered by default.
So stories calling directly Codecs to encode/decode may generate errors
Uncaught InternalError: too much recursion

Using ModelXmlSerializer instead will register the codecs and fix the problems.
Otherwise, call the register function if the usage of ModelXmlSerializer is not possible.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions