From 9dbce79cb5798feb92c4862e694ceeb8799ba284 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Thu, 31 Jan 2013 21:02:47 +0100 Subject: Added ViewName field to Event. Filled in with the Viewpoint name if specified in the Activity properties, making it possible to derive previous states of the Viewpoint. Closes #96 Cleanup outcome storing code. Throw an exception if SchemaType filled in and outcome is empty. --- src/main/java/com/c2kernel/process/Bootstrap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/c2kernel/process/Bootstrap.java') diff --git a/src/main/java/com/c2kernel/process/Bootstrap.java b/src/main/java/com/c2kernel/process/Bootstrap.java index ba2280c..0d22cb3 100644 --- a/src/main/java/com/c2kernel/process/Bootstrap.java +++ b/src/main/java/com/c2kernel/process/Bootstrap.java @@ -146,7 +146,7 @@ public class Bootstrap // data was missing or doesn't match Logger.msg("Bootstrap.verifyResource() - Writing new data to "+getDataType(itemType)+" "+itemName); History hist = new History(thisProxy.getSystemKey(), thisProxy); - Event newEvent = hist.addEvent("system", "Admin", Transitions.DONE, "Import", "Import", "Import", States.FINISHED); + Event newEvent = hist.addEvent("system", "Admin", Transitions.DONE, "Bootstrap", "Bootstrap", "Bootstrap", null, States.FINISHED); newOutcome.setID(newEvent.getID()); Viewpoint newLastView = new Viewpoint(thisProxy.getSystemKey(), getDataType(itemType), "last", 0, newEvent.getID()); Viewpoint newZeroView = new Viewpoint(thisProxy.getSystemKey(), getDataType(itemType), "0", 0, newEvent.getID()); -- cgit v1.2.3