Class SandBoxItemErrorController
java.lang.Object
com.broadleafcommerce.enterprise.workflow.admin.web.controller.SandBoxItemErrorController
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected WorkflowEventDaoprotected WorkflowSandBoxItemService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<WorkflowSandboxItemError>getEventErrors(WorkflowEvent event) retrieveErrorDetails(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, Long id, String gridId)
-
Field Details
-
SB_ITEM_ERROR_DETAILS_URL
- See Also:
-
workflowSandBoxItemService
-
workflowEventDao
-
-
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
-