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 ]
        Show
        Jérôme Vieilledent (Inactive) added a comment - Pull-request: https://github.com/ezsystems/ezpublish-legacy/pull/655
        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 ]
        Show
        Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/16a050f90069de11b3b1dd626889072dce7ed888
        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) logged work - 04/Jun/13 6:17 PM
        • Time Spent:
          30 minutes
           

          Analyse issue

        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 ]
        Pedro Resende (Inactive) logged work - 05/Jun/13 1:19 PM - edited
        • Time Spent:
          3 hours, 45 minutes
           

          Analyse and reproduce issue, write test case and verify the issue has been fixed after applying the patch

        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 ]
        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