Closed (fixed)
Project:
Open Social
Version:
8.x-1.x-dev
Component:
Code (back-end)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2017 at 12:49 UTC
Updated:
3 Oct 2017 at 15:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kingdutchThe patch in the opening post missed the return statement for the dependencies array and had the hook in the .module file while the documentation ( https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension... ) specifies it should be in the .install file.
Attached patch fixes both issues. Interdiff is provided if you already applied the original patch.
Relevant pull request: https://github.com/goalgorilla/open_social/pull/513
How to test:
Update from RC5 or earlier to 1.3 or from beta11 to 1.2. The error is caused by update 8020 which seems to have been introduced in RC7. Upgrades between other versions that touch this update hook may also suffer the error without the patch applied but these have not (yet) been observed.
Comment #3
robertragas commentedTested both patches, and can confirm that the second patch is working as it should.
Comment #4
robertragas commentedComment #5
jaapjan commentedThanks everyone, merged the pull request.