Skip to content

Variable: invalid state #13

@missinglink

Description

@missinglink

It's possible for a Variable to enter an invalid state:

var v = new Variable();
// v.$ == '' (empty string)

var data = v.get()
// data == '' (empty string)

var v.set( data )
// throws

It should be possible to export a Variable and then import it again?

The same issue happens if v.set() throws as it leaves v.$ == ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions