Skip to content

Comments

Catch multiple entities with same name on XML import#1683

Merged
sangwinc merged 3 commits intodevfrom
nodenames
Feb 18, 2026
Merged

Catch multiple entities with same name on XML import#1683
sangwinc merged 3 commits intodevfrom
nodenames

Conversation

@EJMFarrow
Copy link
Collaborator

  • Prevent XML import if multiple inputs, PRTs or nodes within the same PRT have the same name (otherwise the first instance gets overwritten by the second).
  • Applied to XML import only, not the API.
  • It's still very easy to break things e.g. leaving an input name blank throws an Exception, submitting malformed XML complains there are no questions. Trying to catch everything gracefully would take a while...

@EJMFarrow EJMFarrow requested a review from sangwinc February 17, 2026 09:35
@sangwinc
Copy link
Member

Thanks @EJMFarrow

@sangwinc sangwinc merged commit 6cac82c into dev Feb 18, 2026
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants