Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2, 1.1.4
    • Fix Version/s: 1.1.5
    • Component/s: portal driver
    • Labels:
      None
    • Environment:
      Fedora 5, Tomcat 5.0.28

      Description

      When I use the below link:

      http://localhost:8080/pluto/portal/__

      I got this error:

      java.lang.StringIndexOutOfBoundsException: String index out of range: -2
      java.lang.String.substring(String.java:1768)
      java.lang.String.substring(String.java:1735)
      org.apache.pluto.driver.url.impl.PortalURLParserImpl.decodeParameter(PortalURLParserImpl.java:357)
      org.apache.pluto.driver.url.impl.PortalURLParserImpl.parse(PortalURLParserImpl.java:158)
      org.apache.pluto.driver.core.PortalRequestContext.getRequestedPortalURL(PortalRequestContext.java:113)
      org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:95)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      1. patch-PLUTO-361.txt
        2 kB
        Marc Veary
      2. unittest-PLUTO-361.txt
        18 kB
        Marc Veary

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          66d 9h 37m 1 Craig Doremus 07/Jul/07 14:28
          Resolved Resolved Closed Closed
          31d 23h 13m 1 Elliot Metsger 08/Aug/07 13:41
          Closed Closed Reopened Reopened
          150d 6h 1m 1 Elliot Metsger 05/Jan/08 19:43
          Reopened Reopened Resolved Resolved
          56d 5h 45m 1 Elliot Metsger 02/Mar/08 01:29
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12565275 ] jira [ 12586009 ]
          Mark Thomas made changes -
          Workflow jira [ 12403059 ] Default workflow, editable Closed status [ 12565275 ]
          Elliot Metsger made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Elliot Metsger made changes -
          Fix Version/s 2.0.0 [ 12312914 ]
          Hide
          Elliot Metsger added a comment -

          See PLUTO-470 for this issue opened against 2.0.0.

          Show
          Elliot Metsger added a comment - See PLUTO-470 for this issue opened against 2.0.0.
          Elliot Metsger made changes -
          Link This issue is cloned as PLUTO-470 [ PLUTO-470 ]
          Hide
          Elliot Metsger added a comment -

          Fix committed to 1.1.x branch 609238.

          The 286 merge branch is out of date and this patch can't be easily merge/applied to it.

          Show
          Elliot Metsger added a comment - Fix committed to 1.1.x branch 609238. The 286 merge branch is out of date and this patch can't be easily merge/applied to it.
          Elliot Metsger made changes -
          Fix Version/s 2.0.0 [ 12312914 ]
          Elliot Metsger made changes -
          Affects Version/s 1.1.4 [ 12312421 ]
          Fix Version/s 1.2.0 [ 12312213 ]
          Fix Version/s 1.1.4 [ 12312421 ]
          Fix Version/s 1.1.5 [ 12312652 ]
          Hide
          Elliot Metsger added a comment -

          Updating fix ver to 1.1.5.

          Show
          Elliot Metsger added a comment - Updating fix ver to 1.1.5.
          Elliot Metsger made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Assignee Craig Doremus [ cdoremus ] Elliot Metsger [ emetsger ]
          Hide
          Elliot Metsger added a comment -

          This patch at least partially reverts the patch from PLUTO-356.

          Show
          Elliot Metsger added a comment - This patch at least partially reverts the patch from PLUTO-356 .
          Elliot Metsger made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Craig Doremus made changes -
          Fix Version/s 1.2.0 [ 12312213 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.1.4 [ 12312421 ]
          Resolution Fixed [ 1 ]
          Hide
          Craig Doremus added a comment -

          Fixed applied in SVN revision 554206 in trunk and revision 554210 in pluto-1.1.x branch. Thank you Marc for the patch!

          Show
          Craig Doremus added a comment - Fixed applied in SVN revision 554206 in trunk and revision 554210 in pluto-1.1.x branch. Thank you Marc for the patch!
          Craig Doremus made changes -
          Assignee Craig Doremus [ cdoremus ]
          Marc Veary made changes -
          Attachment unittest-PLUTO-361.txt [ 12361058 ]
          Hide
          Marc Veary added a comment -

          The attached Unit Test was used to reproduce the issue and to test fix

          Show
          Marc Veary added a comment - The attached Unit Test was used to reproduce the issue and to test fix
          Marc Veary made changes -
          Field Original Value New Value
          Attachment patch-PLUTO-361.txt [ 12361057 ]
          Hide
          Marc Veary added a comment -

          This patch fixes the issue where an action request (i.e. prefixed with '__') is made but there are no parameters to decode.

          Show
          Marc Veary added a comment - This patch fixes the issue where an action request (i.e. prefixed with '__') is made but there are no parameters to decode.
          thanh created issue -

            People

            • Assignee:
              Elliot Metsger
              Reporter:
              thanh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development