[jira] Created: (OFBIZ-128) HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-128) HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled

Nicolas Malin (Jira)
HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled
-------------------------------------------------------------------------------------------------

                 Key: OFBIZ-128
                 URL: http://issues.apache.org/jira/browse/OFBIZ-128
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: Linux, jdk-1.5-sun
            Reporter: Peter Goron
            Priority: Minor


Urls generated by renderNextPrev method for next and previous pagination buttons do not include ";jsessionid=..." when session cookies are disabled. So clicking on one of this button causes the session to be lost.

This issue is due to the use of rh.makeLink with six arguments :
rh.makeLink(request, response, linkText, false, false, false)

The last one should be set to true to allow generation of jsessionid when cookies are disabled.


This issue is only reproducible when tomcat is setup to no send session cookie and forceManualJSessionId variable is set to true in rh.makeLink method body.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-128) HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-128?page=all ]

Peter Goron updated OFBIZ-128:
------------------------------

    Attachment: HtmlFormRenderer-makeLink.patch

> HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled
> -------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-128
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-128
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Linux, jdk-1.5-sun
>            Reporter: Peter Goron
>            Priority: Minor
>         Attachments: HtmlFormRenderer-makeLink.patch
>
>
> Urls generated by renderNextPrev method for next and previous pagination buttons do not include ";jsessionid=..." when session cookies are disabled. So clicking on one of this button causes the session to be lost.
> This issue is due to the use of rh.makeLink with six arguments :
> rh.makeLink(request, response, linkText, false, false, false)
> The last one should be set to true to allow generation of jsessionid when cookies are disabled.
> This issue is only reproducible when tomcat is setup to no send session cookie and forceManualJSessionId variable is set to true in rh.makeLink method body.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-128) HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-128?page=all ]

David E. Jones closed OFBIZ-128.
--------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed
         Assignee: David E. Jones

Thanks Peter, this is in SVN rev 429239. I haven't really tested it much, but from a quick review it should be okay.

> HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled
> -------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-128
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-128
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Linux, jdk-1.5-sun
>            Reporter: Peter Goron
>         Assigned To: David E. Jones
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: HtmlFormRenderer-makeLink.patch
>
>
> Urls generated by renderNextPrev method for next and previous pagination buttons do not include ";jsessionid=..." when session cookies are disabled. So clicking on one of this button causes the session to be lost.
> This issue is due to the use of rh.makeLink with six arguments :
> rh.makeLink(request, response, linkText, false, false, false)
> The last one should be set to true to allow generation of jsessionid when cookies are disabled.
> This issue is only reproducible when tomcat is setup to no send session cookie and forceManualJSessionId variable is set to true in rh.makeLink method body.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira