Commit 138ab61
committed
Fix SubmodelElementList elements with existing id_shorts
Previously, elements of a `SubmodelElementList` would have their
`id_short` overwritten by our reference hack.
This now only sets an temporary `id_short`, if the `id_short` does not
exist. Furthermore, it only removes the `id_short` when removing the
element from the `SubmodelElementList`, if it is one of the generated
ones.1 parent 2091e7c commit 138ab61
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
735 | | - | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
736 | 737 | | |
737 | 738 | | |
738 | | - | |
| 739 | + | |
| 740 | + | |
739 | 741 | | |
740 | 742 | | |
741 | 743 | | |
| |||
0 commit comments