Skip to content

Bug in xml.js while deserialising variable fields #1490

Description

@jlaurens

Lines 595-596 of xml.js read

            variable = workspace.createVariable(text, type,
              xmlChild.getAttribute(id));

but should read

            variable = workspace.createVariable(text, type,
              xmlChild.getAttribute('id'));

where id is not a variable name but an xml attribute key. Actually, the id variable contains the 'id' attribute of the parent node such that xmlChild.getAttribute(id) always return null.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions