Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1490

Parameter namespacing goes wrong when having one component twice on a page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.20.00
    • 2.20.01, 2.21.00
    • None
    • None

    Description

      If we duplicate a component with paging, the parameter namespacing for hst:renderURL can go wrong. Reproduce:

      For demosuite :

      in the console at:

      /hst:hst/hst:configurations/democommon/hst:components/bodynewsarchive

      copy the 'content' to 'content2'

      At

      /demosuite/site/src/main/webapp/WEB-INF/jsp/components/layout/threecolumnlayout.jsp

      below <hst:include ref="content"/> add <hst:include ref="content2"/>.

      start the website, goto http://127.0.0.1:8085/site/news

      You have two paging archives now. The first one, click on page 4 or something. You'll get something like:

      http://127.0.0.1:8085/site/news?r23_r1_r1:page=4

      Now, see the urls for the other pages of the first and the second component. The urls are not correct regarding parameters.

      Attachments

        Activity

          People

            wko Woonsan Ko (Inactive)
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: