Class SandBoxItemErrorController

java.lang.Object
com.broadleafcommerce.enterprise.workflow.admin.web.controller.SandBoxItemErrorController

@Controller("blSandBoxItemErrorController") public class SandBoxItemErrorController extends Object
Allows you to query for a user friendly error message when a sandbox / workflow error occured. This helps correlate with logs.
Author:
Kelly Tisdell
  • Field Details

  • Constructor Details

    • SandBoxItemErrorController

      public SandBoxItemErrorController()
  • Method Details

    • retrieveErrorDetails

      @RequestMapping(value="/sandboxitemerrordetails", method=GET, produces="text/plain") @ResponseBody public String retrieveErrorDetails(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @RequestParam(value="id",required=true) Long id, @RequestParam(value="gridId",required=false) String gridId) throws Exception
      Throws:
      Exception
    • getEventErrors

      protected List<WorkflowSandboxItemError> getEventErrors(WorkflowEvent event)