Skip to content

Commit 2985807

Browse files
merge rc
2 parents 36fb59f + 50172ec commit 2985807

72 files changed

Lines changed: 11252 additions & 209 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BExIS++.lutconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<LUTConfig Version="1.0">
2+
<Repository />
3+
<ParallelBuilds>true</ParallelBuilds>
4+
<ParallelTestRuns>true</ParallelTestRuns>
5+
<TestCaseTimeout>180000</TestCaseTimeout>
6+
</LUTConfig>

Components/DLM/BExIS.Dlm.Entities/Data/VariableValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public VariableInstance Variable
6161
{
6262
get
6363
{
64-
if (this.Tuple.DatasetVersion.Dataset.DataStructure.Self is StructuredDataStructure)
64+
if (this.Tuple.DatasetVersion.Dataset.DataStructure != null)
6565
{
6666
VariableInstance u = (this.Tuple.DatasetVersion.Dataset.DataStructure.Self as StructuredDataStructure).Variables
6767
.Where(p => p.Id.Equals(this.VariableId))

Components/DLM/BExIS.Dlm.Services/Data/DatasetManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ public DataTable GetLatestDatasetVersionTuples(long datasetId, int pageNumber, i
12541254
// should use the fallback method, but DatasetConvertor class must be merged with OutputDataManager and SearchUIHelper claases first.
12551255
var version = this.GetDatasetLatestVersion(datasetId);
12561256
var tuples = getDatasetVersionEffectiveTuples(version, pageNumber, pageSize, false); // the false, causes the method to use a scoped sesssion and keep it alive further processings that aredone later on the tuples
1257-
if (version.Dataset.DataStructure.Self is StructuredDataStructure)
1257+
if (version.Dataset.DataStructure!=null)
12581258
{
12591259
DataTable table = convertDataTuplesToDataTable(tuples, version, (StructuredDataStructure)version.Dataset.DataStructure.Self);
12601260
return table;
@@ -1268,7 +1268,7 @@ public DataTable GetDatasetVersionTuples(long versionId, int pageNumber, int pag
12681268
// should use the fallback method, but DatasetConvertor class must be merged with OutputDataManager and SearchUIHelper claases first.
12691269
var version = this.GetDatasetVersion(versionId);
12701270
var tuples = getDatasetVersionEffectiveTuples(version, pageNumber, pageSize, false); // the false, causes the method to use a scoped sesssion and keep it alive further processings that aredone later on the tuples
1271-
if (version.Dataset.DataStructure.Self is StructuredDataStructure)
1271+
if (version.Dataset.DataStructure != null)
12721272
{
12731273
DataTable table = convertDataTuplesToDataTable(tuples, version, (StructuredDataStructure)version.Dataset.DataStructure.Self);
12741274
return table;
@@ -3361,7 +3361,7 @@ private void createMaterializedView(long datasetId)
33613361
{
33623362
var datasetRepo = uow.GetReadOnlyRepository<Dataset>();
33633363
Dataset ds = datasetRepo.Get(datasetId);
3364-
if (ds.DataStructure != null && ds.DataStructure.Self is StructuredDataStructure)
3364+
if (ds.DataStructure != null && ds.DataStructure!= null)
33653365
{
33663366
StructuredDataStructure sds = (StructuredDataStructure)ds.DataStructure.Self;
33673367
if (sds.Variables != null && sds.Variables.Count() > 0)

0 commit comments

Comments
 (0)