From b3b02a77d8aadab13f2f8f64860a5eaf743bfac7 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 27 Jun 2017 18:48:36 +0200 Subject: [PATCH] fix --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 3fae852..b6dece1 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -46,6 +46,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { } mainProcessor.appendProcessor(hiveName, createDomainDirectoriesProcessor(dom), "Setup Domain Directories"); mainProcessor.appendProcessor(hiveName, createApacheVHostSetupProcessor(em, dom), "Setup Apache VHost"); + mainProcessor.appendProcessor(hiveName, createACMEBotProcessor(em, dom), "Setup ACMEBot"); return mainProcessor; } @@ -327,7 +328,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { } private Processor createACMEBotProcessor(final EntityManager em, final Domain dom) throws ProcessorException { - final Query query = em.createQuery("SELECT d FROM Domains d WHERE d.domainoptions.name = :option AND d.user.pac.hive.name = :hiveName"); + final Query query = em.createQuery("SELECT d FROM Domains d WHERE d.domainoptions.name = :option AND d.user.pac.hive.name = :hivename"); final String hiveName = dom.getHiveName(); final Map templateVars = new HashMap(); query.setParameter("hivename", hiveName);