Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In CronJobInstallTest we have an url as absolute (/cron/..), and it assumes that Drupal is installed in the top level directory which is true for the local machine but not for Testbot.
Proposed resolution
There it is /checkout/cron.. so it needs to build the url string dynamically, with Url::fromRoute()
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | ultimate_cron-change_absolute_url_to_dynamic-2630852-2.patch | 1.22 KB | tduong |
|
Comments
Comment #2
tduong CreditAttribution: tduong at MD Systems GmbH commentedChange url to dynamic.
Comment #3
tduong CreditAttribution: tduong at MD Systems GmbH commentedComment #4
BerdirThanks, committed.