Skip to content

Commit

Permalink
Revert "MYFACES-4500: throw ISE in ajax request if redirect is alread…
Browse files Browse the repository at this point in the history
…y completed"

This reverts commit 6b2a225.
  • Loading branch information
volosied committed Jan 3, 2025
1 parent 42755f7 commit 3385a6f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,10 +590,6 @@ public void redirect(final String url) throws IOException
PartialViewContext partialViewContext = facesContext.getPartialViewContext();
if (partialViewContext.isPartialRequest())
{
if (_servletResponse instanceof HttpServletResponse && facesContext.getResponseComplete())
{
throw new IllegalStateException();
}
PartialResponseWriter writer = partialViewContext.getPartialResponseWriter();
this.setResponseContentType("text/xml");
this.setResponseCharacterEncoding("UTF-8");
Expand Down

0 comments on commit 3385a6f

Please sign in to comment.