Release preparations

* Adds a bounds check on the node index to prevent accessing invalid memory locations.
This prevents potential crashes caused by out-of-bounds access when retrieving summary variable values.
* Updates warning message for incomplete deltas
* Plot based on a single realization from a file set ensemble is not restored correctly on project load
* Populate result addresses if no addresses are present
* Adds CNV_ (convergence) result name
* Avoid include of RiaResultNames.h in header file
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-08-27 14:22:11 +02:00
1 parent 4d9a723e32
commit 4135a743fe
38 files changed
+327 -90

No files matched your search

@@ -566,6 +566,8 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
// At this point, all the file paths variables are replaced and all file paths updated to the new location. This will enable use of
// file paths in initAfterRead().
// If Rim-objects are created in initAfterRead(), they will be resolved in the second pass
// Example: Realization objects in ensemble file set
m_project->resolveReferencesRecursively();
m_project->initAfterReadRecursively();
@@ -884,6 +886,10 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
}
}
// Second pass: a full recursive resolution to robustly handle both previously failing references and any newly created ones from
// initAfterRead.
m_project->resolveReferencesRecursively();
// Some procedures in onProjectOpened() may rely on the display model having been created
// So we need to force the completion of the display model here.
RiaViewRedrawScheduler::instance()->updateAndRedrawScheduledViews();
@@ -493,6 +493,14 @@ QString RiaResultNames::sgcr()
return "SGCR";
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RiaResultNames::convergence()
{
return "CNV_";
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -91,6 +91,7 @@ QString swat();
QString sowcr();
QString sogcr();
QString sgcr();
QString convergence();
// Well path derived results
QString wbsAzimuthResult();
@@ -27,6 +27,7 @@
#include "RiaGuiApplication.h"
#include "RiaLogging.h"
#include "RiaPreferencesGrid.h"
#include "RiaResultNames.h"
#include "RiaViewRedrawScheduler.h"
#include "RifEclipseSummaryTools.h"