[PATCH] Use the new way of building static facets if such facets exist else ignore this way
Wald Commits
scm-commit at wald.intevation.org
Mon May 19 12:48:17 CEST 2014
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1400496470 -7200
# Node ID 49daff6c11ca52366f77fd12e9ca6806c937d60f
# Parent 9c118aeec992846c3da321b8c56758cc18e4fbac
Use the new way of building static facets if such facets exist else ignore this way.
Makes loading of datacage facets work again!
diff -r 9c118aeec992 -r 49daff6c11ca artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java Fri May 16 18:50:56 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java Mon May 19 12:47:50 2014 +0200
@@ -210,7 +210,9 @@
handleInitModel(data, context, callMeta);
- buildStaticFacets(data, facets, callMeta);
+ if (!facets.isEmpty()) {
+ buildStaticFacets(data, facets, callMeta);
+ }
filterFacets = buildFilterFacets(data);
More information about the Dive4Elements-commits
mailing list