-
Type:
Bug
-
Status: Confirmed
-
Priority:
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]
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
- make installation with ezdemo
- 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>
- run check link cronjob
- $ php ezpublish/console ezpublish:legacy:script runcronjobs.php infrequent
- $ php ezpublish/console ezpublish:legacy:script runcronjobs.php infrequent --siteaccess eng
- verify that for both executions you get following results
- the /footer link is valid
- the /content/view/full/60 link is invalid