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

updateviewcount.php doesn't work with view parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2012.5
    • Fix Version/s: None
    • Component/s: Cronjobs, Legacy stack
    • Labels:
      None

      Description

      Just add a view parameter to any node url like /(offset)/10 and the updateviewcount cronjob doesnt't recognize the url anymore.

      Replace
      $url = preg_replace( "/?.*/", "", $url);

      with
      $url = preg_replace( "/?.|(./", "", $url);

      and it works as expected.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            punknroll Andreas Adelsberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: