X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.server%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fweb%2Fmvc%2Fprocess%2FSlcExecutionViewController.java;h=8867d85ce609f5b3f017e3b9332ea715ba0ce575;hb=b2cf21e88b831c137803a47585115352de2a1b41;hp=0c2de740b385cc2cfad88dc39e322a60466b9356;hpb=1f300a25e7e43d2daed2eee26d90040f7ef488a2;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.server/src/main/java/org/argeo/slc/web/mvc/process/SlcExecutionViewController.java b/org.argeo.slc.server/src/main/java/org/argeo/slc/web/mvc/process/SlcExecutionViewController.java index 0c2de740b..8867d85ce 100644 --- a/org.argeo.slc.server/src/main/java/org/argeo/slc/web/mvc/process/SlcExecutionViewController.java +++ b/org.argeo.slc.server/src/main/java/org/argeo/slc/web/mvc/process/SlcExecutionViewController.java @@ -30,22 +30,24 @@ public class SlcExecutionViewController extends ParameterizableViewController { HttpServletResponse response) throws Exception { ModelAndView modelAndView = new ModelAndView(); - //List slcExecutions = slcExecutionDao.listSlcExecutions(); + // List slcExecutions = + // slcExecutionDao.listSlcExecutions(); String uuid = request.getParameter("uuid"); - if (uuid == null) + if (uuid == null) throw new SlcException("Parameter uuid required."); - + SlcExecution slcExecution = slcExecutionDao.getSlcExecution(uuid); - if (slcExecution == null) - throw new SlcException("Could not find slcException with uuid " + uuid +"."); - + if (slcExecution == null) + throw new SlcException("Could not find slc execution with uuid " + + uuid + "."); + if (log.isDebugEnabled()) { log.debug("SlcExecution " + slcExecution.getUuid()); } - + List slcExecutionSteps = slcExecution.getSteps(); - + modelAndView.addObject("slcExecutionSteps", slcExecutionSteps); modelAndView.addObject("slcExecution", slcExecution); modelAndView.setViewName(getViewName());