From 18718219833724d8f175b68c43fb24abce02677d Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Tue, 13 May 2014 22:41:40 +0200
Subject: [PATCH] fix Template-Generierung beim Paket-Loeschen

---
 hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
index 3c9a0f5..de344fb 100644
--- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -67,6 +67,7 @@
 		String basepacName = pac.getBasepac().getName();
 		if (basepacName.equals(BasePacType.PAC_WEB) || basepacName.equals(BasePacType.PAC_DW) || basepacName.equals(BasePacType.PAC_SW)) {
 			Hive hive = pac.getHive();
+			hive.getPacs().remove(pac); 
 			WaitingTasksProcessor waiting = new WaitingTasksProcessor(createDelUserProc(pac.getName()));
 			waiting.appendProcessor(pac.getHiveName(), new CompoundProcessor(
 				createIfDown(pac),

--
Gitblit v1.9.0-SNAPSHOT