HSAdmin Backend Domains, E-Mail, Datenbanken
fix
Peter Hormanns
2017-06-27 b3b02a77d8aadab13f2f8f64860a5eaf743bfac7
fix
1 files modified
3 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 3 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -46,6 +46,7 @@
        }
        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 @@
    }
    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<String, Object> templateVars = new HashMap<String, Object>();
        query.setParameter("hivename", hiveName);