//try loading subInfo from HTTP request
SubmissionInfo subInfo = (SubmissionInfo) request.getAttribute(DSPACE_SUBMISSION_INFO);
//get the submission represented by the WorkspaceID
InProgressSubmission submission = findSubmission(context, workspaceID);
//if no submission info, or wrong submission info, reload it!
if ((subInfo == null && submission!=null) ||
(subInfo!=null && submission!=null && subInfo.getSubmissionItem().getID()!=submission.getID()))
{
try
{
final HttpServletRequest httpRequest = (HttpServletRequest) objectModel
.get(HttpEnvironment.HTTP_REQUEST_OBJECT);