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.
- I installed a fresh version of Drupal8-alpha8 via the standard web installer wizard.
- A few moments later I received an e-mail notifying me that updates were available, however the link is 404/not found.
- The e-mail URL is pointing to
example.com/core/admin/reports/updates
, but the correct page isexample.com/admin/reports/updates
- The updates page URL is correct when navigating to it through the Admin menu - [Reports] > Available Updates, it seems to be only the e-mail notice updates URL that is incorrect.
Your version of Drupal is no longer supported. Upgrading is strongly
recommended!See the available updates page for more information:
http://drupal8-alpha8.sandbox.dev/core/admin/reports/updatesYour site is currently configured to send these emails only when security
updates are available. To get notified for any available updates,
http://drupal8-alpha8.sandbox.dev/core/admin/reports/updates/settings.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2188167-6-core-install-url.patch | 2.92 KB | rahulbile |
#5 | drupal8-alpha8-visit-your-new-site-good-link.png | 713.81 KB | RowboTony |
#5 | drupal8-alpha8-visit-your-new-site-bad-link.png | 709.52 KB | RowboTony |
#4 | 2188167-4-core-install-url.patch | 1.44 KB | rahulbile |
#2 | 2188167-2-core-install-url.patch | 1.13 KB | rahulbile |
Comments
Comment #1
RowboTony CreditAttribution: RowboTony commentedComment #2
rahulbile CreditAttribution: rahulbile commentedHere is the initial patch against 8.x which tries to make sure the base_url is properly set when generating url through generateFromPath in Urlgenerator.php.
Comment #4
rahulbile CreditAttribution: rahulbile commentedUpdated patch to consider request URI.
Comment #5
RowboTony CreditAttribution: RowboTony commentedHello, thank you for the patch. I downloaded a fresh install of Drupal8 alpha8, applied the patch, and proceeded to install via the web installer. Shortly after the install completed I received an e-mail with the correct links to the updates:
So the patch does fix the email notification, however I did find a regression issue that seems to be related to this patch - after the web installer completes, the page says:
Unfortunately, when this patch is applied, it breaks this link. The link now points to "//" after the patch is applied.
I did another fresh install of
drupal-8.0-alpha8.tar.gz
, I did not apply the patch this time, proceeded through the web installer, and that link is ok and correctly pointing to my full site URL. So, all things considered, with this patch being the only thing applied, it does break the "Visit your new site" URL.Comment #6
rahulbile CreditAttribution: rahulbile commentedThat was a a good catch @drupleg , attached is the updated patch to crack this.
Comment #7
jhedstromI think this was fixed with #2340251: Remove most remaining url() calls.