From d6b3ac43c6863fc5ddbd8794c69214b430e6fad8 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 4 Mar 2024 13:23:47 +0100 Subject: [PATCH] SEBSERV-512 fix error on downgrade for SEB Settings --- .../sebserver/gui/service/examconfig/impl/AttributeMapping.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/AttributeMapping.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/AttributeMapping.java index 9b6582e8..2887319d 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/AttributeMapping.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/AttributeMapping.java @@ -74,6 +74,7 @@ public class AttributeMapping { this.orientationAttributeNameMapping = Utils.immutableMapOf(orientations .stream() + .filter(o -> this.attributeIdMapping.containsKey(o.attributeId)) .collect(Collectors.toMap( o -> this.attributeIdMapping.get(o.attributeId).name, Function.identity(),