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.
This seems related to a number of other issues I'm having, drush complains for example that modules are not enabled when they are.
I believe this is related to the profile definition. I've seen some related links:
http://yaremchuk.ru/blog/start-you-own-drupal-distribution-drush-make-pa...
http://drupal.org/node/1866644
The offending line of code is:
$requirements['update_core'] = _update_requirement_check($data['drupal'], 'core');
Comment | File | Size | Author |
---|---|---|---|
#5 | update-drupal-1875386-5.patch | 719 bytes | nedjo |
Comments
Comment #1
memoday CreditAttribution: memoday commentedI am having the exact same problem after upgrading to rc7. Any ideas how this can be fixed please?
Comment #2
sonicthoughts CreditAttribution: sonicthoughts commentedGlad that I'm not alone. Spent a few hours on this one!
Comment #3
sonicthoughts CreditAttribution: sonicthoughts commentedA workaround (HACK) is to change ...modules/update/update.install line 35 from 'drupal' to 'openoutreach'
The real answer, I think, is to set "drupal" in place of openoutreach somewhere in the .profile file....
Comment #4
nedjoThanks for posting the issue and links.
In RC7 we introduced a patch cribbed from Commerce Kickstart that alters update information in #1852898: Filter update messages to show updates for security issues, customized modules/themes, or the distro itself. This issue may be related. Maybe we need to include an exception in our filtering, never removing the project 'drupal'.
Comment #5
nedjo@sonicthoughts or @memoday: got a moment to test the attached patch?
Comment #6
memoday CreditAttribution: memoday commentedThanks Nedjo for the patch. I applied it and it seems to be fine. Before that, I went to "admin/config/development/logging" and selected 'none' for "Error messages to display". I have enabled "Errors and warnings" now and I don't see the error. I hope this is it and the issue is gone. I will report back here if I come across this issue again.
Comment #7
nedjoParallel issue on Commerce Kickstart: #1876272: Notice: Undefined index: drupal in update_requirements() (line 35 of public_html/modules/update/update.install)..
Comment #8
nedjoThough I'd like to look more closely at the issue, I've gone ahead and applied this patch as it should be harmless and I need to get a new release out. Please reopen if the bug reappears with the next Open Outreach release (RC8).
Comment #10
dbolser CreditAttribution: dbolser commentedI'm seeing this in 7.22