[PATCH] Fix SQOverview the new generators need the master artifact set

Wald Commits scm-commit at wald.intevation.org
Fri Oct 4 18:00:33 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380902429 -7200
# Node ID 01deeed9d169b0ff34dfb861296ad34d24cd9307
# Parent  69709f490d927f56fc91a0a45d494082b6363084
Fix SQOverview the new generators need the master artifact set.

diff -r 69709f490d92 -r 01deeed9d169 artifacts/src/main/java/org/dive4elements/river/exports/sq/SQOverviewGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/sq/SQOverviewGenerator.java	Fri Oct 04 17:56:02 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/sq/SQOverviewGenerator.java	Fri Oct 04 18:00:29 2013 +0200
@@ -92,6 +92,8 @@
                     context,
                     name,
                     null);
+            /* Make sure master is also set in those */
+            g.setMasterArtifact(master);
 
             if (g == null) {
                 logger.debug("generator is null.");


More information about the Dive4elements-commits mailing list