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

        Paulo Bras (Inactive) created issue -
        Paulo Bras (Inactive) made changes -
        Field Original Value New Value
        Attachment ezurloperator.php.patch [ 15819 ]
        Paulo Bras (Inactive) made changes -
        Status Open [ 1 ] Backlog [ 10000 ]
        Gunnstein Lye made changes -
        Status Backlog [ 10000 ] InputQ [ 10001 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development [ 3 ] Devlopment done [ 5 ]
        Affects Version/s 5.1 [ 11280 ]
        Affects Version/s 5.0 [ 10300 ]
        Component/s Public API interfaces [ 10308 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Devlopment done [ 5 ] Development review [ 10006 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development review [ 10006 ] Development Review done [ 10028 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development Review done [ 10028 ] Documentation done [ 10011 ]
        Pedro Resende (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
        Pedro Resende (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 30 minutes [ 1800 ]
        Worklog Id 34873 [ 34873 ]
        Pedro Resende (Inactive) made changes -
        Rank Ranked higher
        Pedro Resende (Inactive) made changes -
        Time Spent 30 minutes [ 1800 ] 3 hours, 30 minutes [ 12600 ]
        Worklog Id 34906 [ 34906 ]
        Pedro Resende (Inactive) made changes -
        Time Spent 3 hours, 30 minutes [ 12600 ] 4 hours, 15 minutes [ 15300 ]
        Worklog Id 34906 [ 34906 ]
        Pedro Resende (Inactive) made changes -
        Status QA [ 10008 ] QA done [ 10007 ]
        André Rømcke made changes -
        Assignee Pedro Resende [ pedro.resende@ez.no ]
        Status QA done [ 10007 ] Closed [ 6 ]
        Fix Version/s 5.1-SPx [ 12301 ]
        Fix Version/s 5.2 [ 11281 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 53894 ] EZ* Development Workflow [ 83815 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 83815 ] EZEE Development Workflow [ 122433 ]

          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