Skip to content

Commit

Permalink
Fixed #782
Browse files Browse the repository at this point in the history
  • Loading branch information
jipclaassens committed Oct 1, 2024
1 parent a3dff8a commit cc5774b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions clc/dll/src/Subset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,21 @@ struct CollectWithAttrOperator : public BinaryOperator
continue;
subDataItem->UpdateMetaInfo();
if (!sourceDomain->UnifyDomain(subDataItem->GetAbstrDomainUnit()))
{
if (m_CollectMode == collect_mode::org_rel)
reportF(SeverityTypeID::ST_Warning, "%s: image of org_rel is %s, which is incompatible with the domain of attribute %s, which is %s"
, GetGroup()->GetNameStr()
, subDataItem->GetFullName().c_str()
, subDataItem->GetAbstrDomainUnit()->GetFullName().c_str()
);
else
reportF(SeverityTypeID::ST_Warning, "%s: domain of condition is %s, which is incompatible with the domain of attribute %s, which is %s"
, GetGroup()->GetNameStr()
, subDataItem->GetFullName().c_str()
, subDataItem->GetAbstrDomainUnit()->GetFullName().c_str()
);
continue;
}
auto resSub = CreateDataItem(resultHolder, subDataID, domainA, subDataItem->GetAbstrValuesUnit(), subDataItem->GetValueComposition());

SharedStr collectExpr;
Expand Down
2 changes: 1 addition & 1 deletion qtgui/exe/GeoDmsGuiQt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<IgnoreImportLibrary>true</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Label="QtSettings">
<QtInstall>6.6.2_msvc2019_64</QtInstall>
<QtInstall>6.7.2_msvc2019_64</QtInstall>
<QtModules>core;gui;widgets;printsupport;webenginewidgets</QtModules>
<QtDeploy>true</QtDeploy>
</PropertyGroup>
Expand Down

0 comments on commit cc5774b

Please sign in to comment.