Skip to content

Commit 6bac567

Browse files
committed
LUT-26660: Fix session error when refreshing a form
1 parent 46774e1 commit 6bac567

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java/fr/paris/lutece/plugins/forms/web/FormXPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,8 @@ public synchronized XPage doSaveStep( HttpServletRequest request ) throws SiteMe
882882
// why are we here as we didn't try to save any backup ? So instead of throwing the error, we redirect.
883883
AppLogService.error("FormXPage l 897 : " + MESSAGE_ERROR_TOKEN );
884884
_currentStep = StepHome.findByPrimaryKey(Integer.parseInt(request.getParameter(FormsConstants.PARAMETER_ID_STEP)));
885+
List<String> errorList = new ArrayList<>( );
886+
_currentStep = FormsResponseUtils.getNextStep( _currentStep.getId( ), errorList, _formResponseManager );
885887
return getStepView( request );
886888
}
887889

0 commit comments

Comments
 (0)