<BUG>saveTempImageFile(actionRequest);sendRedirect(actionRequest, actionResponse);</BUG><CONTEXT>String cmd = ParamUtil.getString(actionRequest, Constants.CMD);if (cmd.equals(Constants.ADD_TEMP)) {addTempImageFile(actionRequest);}else {<extra_id_0>}}</CONTEXT>
FileEntry fileEntry = saveTempImageFile(actionRequest);SessionMessages.add(actionRequest, "imageUploaded", fileEntry);sendRedirect(actionRequest, actionResponse);