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

Checking URLs cronjob incoherent on some relative app links

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • QA tracked issues
    • 5.3-dev
    • Cronjobs, Legacy stack
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: