From 41f41ebcaba0fe2b4d2b195d0c3e73595d3a7588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Thu, 16 Apr 2026 09:07:42 +0200 Subject: [PATCH] fix(marcframe): ContributionByRoleStep missing required resources relatorResources was not initialized because elasticFind wasn't yet initialized. Because elastic initialization was moved in cf91b2066 --- whelk-core/src/main/groovy/whelk/Whelk.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/whelk-core/src/main/groovy/whelk/Whelk.groovy b/whelk-core/src/main/groovy/whelk/Whelk.groovy index 62b4e79025..c014c36713 100644 --- a/whelk-core/src/main/groovy/whelk/Whelk.groovy +++ b/whelk-core/src/main/groovy/whelk/Whelk.groovy @@ -163,6 +163,8 @@ class Whelk { elasticFind = new ElasticFind(new ESQuery(this)) } + initDocumentNormalizers() + sparqlUpdater = SparqlUpdater.build(storage, jsonld.context, configuration) sparqlQueryClient = new SparqlQueryClient(configuration.getProperty('sparqlEndpoint', null), jsonld); } @@ -254,7 +256,6 @@ class Whelk { void setJsonld(JsonLd jsonld) { this.jsonld = jsonld storage.setJsonld(jsonld) - initDocumentNormalizers() this.fresnelUtil = new FresnelUtil(jsonld) }