#3553 Temp LGR. Error handling, bug fixes

This commit is contained in:
Bjørn Erik Jensen
2018-10-29 10:52:59 +01:00
parent 04c07154b0
commit a1c8275eed
7 changed files with 449 additions and 130 deletions

View File

@@ -2526,6 +2526,7 @@ void RigCaseCellResultsData::assignValuesToTemporaryLgrs(const QString& re
return;
}
bool invalidCellsDetected = false;
for (size_t gridIdx = 0; gridIdx < m_ownerMainGrid->gridCount(); gridIdx++)
{
const auto& grid = m_ownerMainGrid->gridByIndex(gridIdx);
@@ -2549,9 +2550,14 @@ void RigCaseCellResultsData::assignValuesToTemporaryLgrs(const QString& re
}
else
{
RiaLogging::warning("Detected invalid/undefined cells when assigning result values to temporary LGRs");
invalidCellsDetected = true;
}
}
}
}
if (invalidCellsDetected)
{
RiaLogging::warning("Detected invalid/undefined cells when assigning result values to temporary LGRs");
}
}