[Dive4elements-commits] [PATCH] Datacage: If there is an artifact you likely need the artifact database, too

Wald Commits scm-commit at wald.intevation.org
Tue Jun 4 12:26:41 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1370341587 -7200
# Node ID d0f01bc92fd0c64e5e96368873e94298d22edaca
# Parent  573112007ec7e8d5efd1cbbda0bfd6a0d4e68f1c
Datacage: If there is an artifact you likely need the artifact database, too.

diff -r 573112007ec7 -r d0f01bc92fd0 artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/Recommendations.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/Recommendations.java	Tue Jun 04 10:27:54 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/Recommendations.java	Tue Jun 04 12:26:27 2013 +0200
@@ -257,6 +257,7 @@
             new ArrayList<Builder.NamedConnection>(3);
 
         Connection userConnection = userId != null
+            || parameters.containsKey("ARTIFACT-ID")
             ? DBConfig
                 .getInstance()
                 .getDBConnection()


More information about the Dive4elements-commits mailing list