Apache Roller
  1. Apache Roller
  2. ROL-1202

Wrong array parameter supplied when parsing paths '/username/pagelink/datestring'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Level of effort:
      Class mentioned does not exist today (JIRA from 2006). Not aware of this issue still occurring.

      Description

      class: org.apache.roller.presentation.RollerRequest.java
      method: parsePathInfo()

      Causes day paths (e.g. 20060808) to be treated as month paths (e,g 200608). Two occurances of the same bug which effects pages with the following path format:

      "/username/pagelink/datestring"
      "/username/pagelink/datestring/anchor"

      The code on lines 267 and 303

      if(pathInfo[1].length() = 8)

      should be:

      if(pathInfo[2].length() = 8)

        Activity

        Richard Jones created issue -
        David Johnson made changes -
        Field Original Value New Value
        Assignee David Johnson [ djohnson ] Roller Unassigned [ roller_unassigned ]
        Henri Yandell made changes -
        Project Import Fri Mar 27 23:38:16 PDT 2009 [ 1238222296558 ]
        Mark Thomas made changes -
        Workflow jira [ 12458625 ] Default workflow, editable Closed status [ 12622836 ]
        Glen Mazza made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Level of effort Class mentioned does not exist today (JIRA from 2006). Not aware of this issue still occurring.
        Resolution Cannot Reproduce [ 5 ]

          People

          • Assignee:
            Roller Unassigned
            Reporter:
            Richard Jones
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development