[weld-issues] [JBoss JIRA] Closed: (WELD-643) wrong redirect URL in long-running conversation

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Nov 29 19:40:09 EST 2010


     [ https://jira.jboss.org/browse/WELD-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-643.
--------------------------

         Assignee: Pete Muir
    Fix Version/s: 1.1.0.Beta3
                       (was: 1.1.0.CR1)
       Resolution: Done


> wrong redirect URL in long-running conversation
> -----------------------------------------------
>
>                 Key: WELD-643
>                 URL: https://jira.jboss.org/browse/WELD-643
>             Project: Weld
>          Issue Type: Bug
>          Components: Web Tier integration (JSF, JSP, EL and Servlet) 
>    Affects Versions: 1.0.1.Final
>            Reporter: Dmitry Cherepanov
>            Assignee: Pete Muir
>             Fix For: 1.1.0.Beta3
>
>
> when I try to send redirect to URL like "/path/to/my/view.xhtml", browser receives redirect to "/view.jsf"
> this happens if long-running conversation is active
> it seems the problem in following code
> public FacesUrlTransformer toRedirectViewId()
> {
> // skipped
>     int lastSlash = url.lastIndexOf("/");
>     if (lastSlash > 0) 
>     {
>         url = url.substring(lastSlash);
>     }
> // skipped
>  }

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list