Skip to content

Commit

Permalink
[FIX] Missing ParameterTypeComponents in copy EngineeringModelSetup f…
Browse files Browse the repository at this point in the history
…rom Source
  • Loading branch information
Alexander van Delft committed Sep 18, 2024
1 parent 7a2563f commit 5e48d09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CometServer/Services/Operations/ModelCreatorManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ public void CreateEngineeringModelSetupFromSource(Guid source, EngineeringModelS

// retrieve all the site-directory data to copy
this.RequestUtils.QueryParameters.IncludeReferenceData = true; // set to true only to retrieve all data to copy. set back to false once query is over
this.RequestUtils.QueryParameters.ExtentDeep = true; // set to true only to retrieve all data to copy. set back to false once query is over
engineeringModelSetupThings.AddRange(this.EngineeringModelSetupService.GetDeep(transaction, SITE_DIRECTORY_PARTITION, new[] { source }, securityContext));
this.RequestUtils.QueryParameters.IncludeReferenceData = false;
this.RequestUtils.QueryParameters.ExtentDeep = false;

this.newModelIid = setupToCreate.EngineeringModelIid;

Expand Down

0 comments on commit 5e48d09

Please sign in to comment.