Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123525

ArrayIndexOutOfBound when getting values from StaticSizeTrieURLPatternMapper

    Details

    • Branch Version/s:
      7.3.x, 7.2.x, 7.1.x
    • Backported to Branch:
      Committed

      Description

      e.g.
      When having stored URL patterns in StaticSizeTrieURLPatternMapper:
      /1
      /22
      /333

      Noticed that the longest URL Pattern is /333
      Searching a URL Path of /333 will report ArrayIndexOutOfBoundException, but not for /1 or /22

      Test have not covered this corner case.

        Attachments

          Activity

            People

            Assignee:
            della.wang Della Wang (Inactive)
            Reporter:
            arthur.chen Arthur Chen
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              35 weeks, 4 days ago

                Packages

                Version Package
                7.1.10 DXP FP21
                7.1.X
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                Master