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

ezsys() operator bad behavior with the "querystring" parameter

    XMLWordPrintable

Details

    Description

      the ezsys("querystring") result will be cached in the compiled template, which causes always the same parameters to be used as long as that compiled file is used. when a cache clean is issued, the compiled template renews and again the same values will be stored until the next cache clear.

      to test, put this code in pagelayout, outside any cache-block:

      <h1>captured params:

      {ezsys( 'querystring' )}

      </h1>
      the timestamp:

      {currentdate()}

      reload the site with:
      www.site.com/?some=thing
      www.site.com/?other=thing
      www.site.com/?your=ownValues

      the timestamp changes (proof that a proper reload was done), but the params will always be the ones in the first call, until the template caches are cleared.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 15 minutes
                4h 15m