Skip to content

Importing can fail for resources that use locally defined properties #163

@joepio

Description

@joepio

If you create a new property (localhost/myprop) and use that in a resource, and then create an export of that server, and then try to import the json-ad file... It might fail if it encounters the resource that uses that prop before it encounters the property itself.

This might seems like a very big if, but the problem has already been encountered and is quite logical, as many users will create properties and import back-ups.

How to deal with this?

  • Change the ordering of the resources, make sure the properties always are at the top. this can (for now) be done manually by opening the .json-ad file and changing the order.
  • When get_property is run, try the imported file first (seems quite complicated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions