Mercurial > dive4elements > river
changeset 8340:8679875f2c09
Create mainvalue facets before setting up the artifact.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 30 Sep 2014 10:57:58 +0200 |
parents | d6e71158222a |
children | 130160b8d245 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java Mon Sep 29 15:49:04 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java Tue Sep 30 10:57:58 2014 +0200 @@ -118,7 +118,6 @@ List<Facet> fs = new ArrayList<Facet>(); addFacets(state.getID(), fs); spawnState(); - super.setup(identifier, factory, context, callMeta, data, loadFacets); String restriction = getDatacageIDValue(data); log.debug("mainvalue restriction " + restriction); boolean restricted = restriction.endsWith("q") || restriction.endsWith("w"); @@ -136,6 +135,7 @@ callMeta, "facet.discharge_curves.mainvalues.w"))); } + super.setup(identifier, factory, context, callMeta, data, loadFacets); }