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 (#375)

* [FIX] Missing ParameterTypeComponents in copy EngineeringModelSetup from Source
* Version bump
  • Loading branch information
lxatstariongroup authored Sep 18, 2024
1 parent 7a2563f commit 790c3e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CometServer/CometServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net8.0</TargetFramework>
<Company>Starion Group S.A.</Company>
<Title>CometServer-CE</Title>
<Version>8.0.0</Version>
<Version>8.0.1</Version>
<Description>CDP4-COMET Services API</Description>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<PackageLicenseExpression>AGPL-3.0-only</PackageLicenseExpression>
Expand Down
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
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- comet-db-logs:/logs

comet_webservices:
image: stariongroup/comet-webservices-community-edition:8.0.0
image: stariongroup/comet-webservices-community-edition:8.0.1
container_name: comet-webservices
shm_size: 512m
restart: always
Expand Down

0 comments on commit 790c3e8

Please sign in to comment.