Closed (duplicate)
Project:
Drupal core
Version:
8.9.x-dev
Component:
update.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Jan 2016 at 21:40 UTC
Updated:
6 Oct 2020 at 07:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
David_Rothstein commentedI looked into this and the problem appears to be overstated. Most places in the Drupal admin UI actually tell you just fine that the updates failed to be fetched. Only one page does not.
My test method:
1. Cut off my internet connection.
2. Click the "check manually" link on the updates page.
Screenshots below are from Drupal 7 but Drupal 8 is similar.
The main updates page (admin/reports/updates) makes quite clear that there was a problem checking updates:
So does the status report page:
However if you go to the "Update" tab on the above page (admin/reports/updates/update) that's the only place where there seems to be a problem:
Comment #3
David_Rothstein commentedHere's a possible patch. I wrote it for Drupal 7 since that's where I was debugging, but could probably be ported to Drupal 8 pretty easily.
With the patch the page looks like this:
Note there's also a somewhat annoying issue that after your internet connection is restored, Drupal waits five minutes before it will try to connect again - and I think maybe it's extending that 5 minutes each time you click "Check manually". So if you keep clicking that, it keeps telling you the connection failed. But that's a separate issue.
Comment #4
David_Rothstein commentedQuick self-review (can be taken into account when rerolling for Drupal 8):
Something like
$all_updates_fetched = TRUEmay be easier to read than the above double-negative.Instead of adding a new string that needs to be translated, I think there may already be a string that's very close to this one in the codebase that maybe would be close enough to reuse here.
Comment #5
mgiffordThis is just a straight re-roll. I think the suggestions in #4 make sense though. may re-roll it again. Hopefully this helps push this issue ahead.
Comment #7
mgifford1) New patch uses
$all_updates_fetched = TRUEand switches logic accordingly.2) There is
'There was a problem checking <a href=":update-report">available updates</a> for your modules or themes.'in core/modules/update/update.moduleSeems close enough. We're just one word away, "some". Is it close enough?
Comment #18
dwwThanks for opening this issue, and sorry for the delayed reply!
From what I can tell, the only page this issue is concerned with is the form to install missing updates at /admin/reports/updates/update
That's going to start complaining if you can't fetch available update data thanks to #1538118: Update status does not verify the identity or authenticity of the release history URL
See also #961060: If a module is Not Supported, Drupal's warning links to available updates page, which says everything is OK
Given those two issues, I think it's safe to call this duplicate.
Cheers,
-Derek