iTwin / imodel-transformer

API for exporting an iModel's parts and also importing them into another iModel
MIT License
3 stars 2 forks source link

ExternalSourceAspects created by "in iModel" transformation or PlantSight Aggregation not usable after branch/merge #49

Open PaulPierog opened 1 year ago

PaulPierog commented 1 year ago

Describe the bug ExternalSourceAspects used to track provenance for "in iModel" transformations and PlantSight Aggregation assign ElementIds to the ExternalSourceAspect.identifier property and ExternalSourceAspect.jsonProperties fields. These ElementIds are not updated correctly after executing a branch/merge operation.

To Reproduce Steps to reproduce the behavior, (shell scripts appreciated): An ATP has been created to repeat the error. Link to PR: https://github.com/iTwin/imodel-transformer/pull/48

Expected behavior The ElementIds stored in the ExternalSourceAspects should be updated to reflect the ElementId changes that happened during a merge operation.

Desktop (please complete the applicable information):

Additional context