Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-4036

[Backport 4.2] Variables in hst:parameternames don't work on multi-channel sites

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      1
    • Processed by team:
      Turing
    • Sprint:
      Turing Sprint 158

      Description

      See also Google Groups Discussion
      A bit of setup before I get to the question, please bear with me.
       
      Let's say our hst:configuration looks something like this:
       

      • common
      • sitemap
      • commonurl
      • hst:parametername : someparam
      • hst:parametervalue : ${scope}
      • dutch (inherits from common)
      • sitemap
      • dutchurl
      • hst:parametername : someparam
      • hst:parametervalue : ${scope}
      • germany (inherits from common)
      • sitemap
      • germanyurl
      • hst:parametername : someparam
      • hst:parametervalue : ${scope}

       
      we've set our sites up with hst:parametername: "scope" and values "dutch" and "germany" respectively.
       
      When we go to the dutchurl when in the dutch site, the "someparam" is as expected "dutch"
      Similarly when going to the germanyurl in the german site, the "someparam" is "germany".
       
      However when we go to the commonurl within the dutch site, the "someparam" is "germany", same when we visit that url via the german site.
       
      Is there a reason for this behaviour? I would have expected it to use the scope parameter from the site it entered, or nothing at all. but somehow it seems to pick one site at random, and runs with it.
       
      Regards,
      Martijn van der Vorst

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: