Fixed a bug with ERI data source retrieval process loading (#514)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-06-27 22:03:51 +02:00
1 parent 87bb04e3c0
commit 1b8ed286e7
2 files changed
+7

No files matched your search

@@ -106,6 +106,12 @@ public partial class DataSourceERI_V1Dialog : MSGComponentBase, ISecretId
this.dataUsername = this.DataSource.Username;
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
this.dataMaxMatches = this.DataSource.MaxMatches;
// We cannot load the retrieval processes now, since we have
// to load the data first. But while doing so, we can need to
// restore the selected retrieval process id. That's why we
// assign the selected retrieval id to the default retrieval process:
this.dataSelectedRetrievalProcess = this.dataSelectedRetrievalProcess with { Id = this.DataSource.SelectedRetrievalId };
if (this.dataAuthMethod is AuthMethod.TOKEN or AuthMethod.USERNAME_PASSWORD)
{