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

Checking URLs cronjob incoherent on some relative app links

    Details

    • Type: Bug Bug
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.3-dev
    • Fix Version/s: QA tracked issues
    • Component/s: Cronjobs, Legacy stack
    • Labels:
    • Environment:

      Server OS: CentOS 6.4
      PHP: 5.3.3
      Database: MySQL 5.1.69
      Browser: Firefox 22.0
      Interface: [Demo]

      Description

      Check URLs cronjob wont validate the app relative paths

      /var/www/html/ezpublish52 ยป console ezpublish:legacy:script runcronjobs.php link                                                                 vagrant@cen
      Running script 'runcronjobs.php' in eZ Publish legacy context
      #!/usr/bin/env php
      Using siteaccess  for cronjob
      Running cronjob part 'link'
      Running cronjobs/linkcheck.php at: 20/11/2013 12:28 pm
      Checking link ...
       
      check-/footer valid
      check-/content/view/full/60 invalid
       
      All links have been checked!
      Completing cronjobs/linkcheck.php at: 20/11/2013 12:28 pm
      Elapsed time: 00:00:05
      

      Steps

      1. make installation with ezdemo
      2. on admin2 create an article with summary:

        <link href="/footer">footer link through name</link>
        <link href="/content/view/full/60">footer link through id</link>
        

      3. run check link cronjob
        1. $ php ezpublish/console ezpublish:legacy:script runcronjobs.php infrequent
        2. $ php ezpublish/console ezpublish:legacy:script runcronjobs.php infrequent --siteaccess eng
      4. verify that for both executions you get following results
        1. the /footer link is valid
        2. the /content/view/full/60 link is invalid

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        6s 1 Marcos Loureiro (Inactive) 20/Nov/13 1:06 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcos Loureiro (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: