Author: jtravis
Date: 2007-03-12 15:54:10 -0800 (Mon, 12 Mar 2007)
New Revision: 3718
URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3718
Modified:
trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java
Log:
Fix HQ-554. Deleting an action which was associated with an escalation will now mark it as deleted, but leave it in the DB to deal with FKs from the GalertActionLogs
Modified: trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java
===================================================================
--- trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java 2007-03-12 23:53:46 UTC (rev 3717)
+++ trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java 2007-03-12 23:54:10 UTC (rev 3718)
@@ -181,8 +181,7 @@
unscheduleEscalation(e);
- // Remove the actual action
- ActionManagerEJBImpl.getOne().deleteAction(action);
+ ActionManagerEJBImpl.getOne().markActionDeleted(action);
}
/**
|