Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19516

TemplateCache=enabled makes language_switcher template operator always to take only the first the query string into account

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Medium Medium
    • Resolution: Unresolved
    • Affects Version/s: 2012.5
    • Fix Version/s: QA tracked issues
    • Component/s: Caching
    • Labels:
      None
    • Environment:

      Operating System: RHEL 6.2
      PHP Version: 5.3.3
      Database and version: Mysql 5.1.52
      Browser (and version): Firefox 13.0

      Description

      Hi, If we have the following site.ini setting:
      [TemplateSettings]
      TemplateCache=enabled

      then the language_switcher template operator only takes the first query string into account. The others that follows the first one are ignored when changing language.

      Steps to reproduce

      - Having an installation with two languages: English + French
      - In the English siteaccess, search for: aaa
      - Verify that we got the message: "No results were found when searching for "aaa"."
      - In the English siteaccess, search for: bbb
      - Verify that we got the message: "No results were found when searching for "bbb"."
      - In the English siteaccess, search for: ccc
      - Verify that we got the message: "No results were found when searching for "ccc"."
      - Change siteaccess to french (Fre)
      - Verify that we got the message: "Aucun résultat pour la recherche "ccc"."
      

      In the last step, instead of having the expected message (with "ccc"), i get the results of the first search query i.e: "Aucun résultat pour la recherche "aaa"."

      BUT
      if i have
      [TemplateSettings]
      TemplateCache=disabled

      then the result is the expected one.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            unknown
            Reporter:
            Paulo Cardiga
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: