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

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

    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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Backlog Backlog
        5m 47s 1 Paulo Bras (Inactive) 15/May/13 1:31 PM
        Backlog Backlog InputQ InputQ
        7d 21h 10m 1 Gunnstein Lye 23/May/13 10:41 AM
        InputQ InputQ Development Development
        11d 7h 6m 1 jerome.vieilledent@ez.no 03/Jun/13 5:48 PM
        Development Development Development Done Development Done
        28s 1 jerome.vieilledent@ez.no 03/Jun/13 5:49 PM
        Development Done Development Done Development Review Development Review
        5s 1 jerome.vieilledent@ez.no 03/Jun/13 5:49 PM
        Development Review Development Review Development Review done Development Review done
        18h 8m 1 jerome.vieilledent@ez.no 04/Jun/13 11:57 AM
        Development Review done Development Review done Documentation Review done Documentation Review done
        4m 58s 1 jerome.vieilledent@ez.no 04/Jun/13 12:02 PM
        Documentation Review done Documentation Review done QA QA
        5h 54m 1 pedro.resende@ez.no 04/Jun/13 5:56 PM
        QA QA QA Done QA Done
        18h 23m 1 pedro.resende@ez.no 05/Jun/13 12:20 PM
        QA Done QA Done Closed Closed
        5d 6h 1m 1 André Rømcke 10/Jun/13 6:22 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            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