You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in issue 38839, if we use a try catch block and return a template then the transaction is not rollbacked. In order to force a rollback we need something like this
@Path("login")
publicTemplateInstanceloginPage(Useruser)
try {
authService.register(user);
} catch (Exceptione) {
// transaction is not rollbackedreturnAdminTemplate.auth(e);
}
returnAdminTemplate.auth();
}
The text was updated successfully, but these errors were encountered:
As discussed in issue 38839, if we use a try catch block and return a template then the transaction is not rollbacked. In order to force a rollback we need something like this
The text was updated successfully, but these errors were encountered: