Skip to content

Lists stored in node attributes are not loaded correctly #438

@mirrexagon

Description

@mirrexagon

I want to store lists in node attributes. This works fine during a session, I can read and iterate through the list properly.

But when I save the project (or export it to JSON), then open it again (or import the JSON), the attribute can't be accessed as a list anymore. Using the say block on the node attribute gives "[object Object]", and the attribute can't be accessed as a list, giving errors like TypeError: list.at is not a function.

Here's an Edgy project exported to XML that demonstrates what I mean: https://gist.github.com/mirrexagon/b3e97e0fe2f6027e8a7f26bbad9fc9fd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions