You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2013/07/25 00:33:48 UTC

[jira] [Updated] (TAP5-1936) PageTester's setupRequestFromURI incorrectly uses substring twice on same string

     [ https://issues.apache.org/jira/browse/TAP5-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-1936:
---------------------------------------

    Summary: PageTester's setupRequestFromURI incorrectly uses substring twice on same string  (was: REOPEN TAP5-698 - PageTester's setupRequestFromURI incorrectly uses substring twice on same string)
    
> PageTester's setupRequestFromURI incorrectly uses substring twice on same string
> --------------------------------------------------------------------------------
>
>                 Key: TAP5-1936
>                 URL: https://issues.apache.org/jira/browse/TAP5-1936
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-test
>    Affects Versions: 5.3.3
>            Reporter: Denis Delangle
>            Assignee: Howard M. Lewis Ship
>         Attachments: patch-TAP5-1936.txt
>
>
> I get this error when clicking a link with parameters in PageTester
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>        at java.lang.String.substring(String.java:1937)
>        at java.lang.String.substring(String.java:1904)
>        at org.apache.tapestry5.test.PageTester.setupRequestFromURI(PageTester.java:345)
> That bug was corrected revision 896555 and put back revision 1185926.
> The correction is trivial but have been done twice, so the bug is
> still there.
> I submit a patch to correct it

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira