Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing template not working - order #980

Closed
joepio opened this issue Oct 8, 2024 · 0 comments · Fixed by #987
Closed

Importing template not working - order #980

joepio opened this issue Oct 8, 2024 · 0 comments · Fixed by #987
Assignees
Labels
bug Something isn't working server atomic-server

Comments

@joepio
Copy link
Member

joepio commented Oct 8, 2024

store.import takes a JSON-AD string that can have multiplelocal-id items. The current import / parse implementation is order dependent, because sometimes a resource can refer to another resource that is not created yet:

  • If a property is used before it's defined
  • If a parent is used before it's defined

@Polleps implemented sorting in the parser to prioritize properties, which solves some cases, but there still are failure cases, e.g. when importing the new template (#959).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server atomic-server
Projects
None yet
1 participant