-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model.base: fix
ModelReference.resolve()
error messages for element…
…s contained in `SubmodelElementLists` Some error messages raised in `ModelReference.resolve()` make use of the `resolved_keys` local list variable, which keeps track of all Identifiers, id_shorts and `SubmodelElementList` indices that have been resolved successfully. Instead of `SubmodelElementList` indices, the children's id_shorts were added to this list previously, which is inconsistent, and soon would cease to work anyway, since AASd-120 prohibits specifying id_shorts for children of `SubmodelElementList`. This commit fixes this such that indices are added and adjusts the tests accordingly.
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters