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
When installing from a installation profile it might happen that the view_unpublished module is installed before the node module. This will fail:
PHP Fatal error: Call to undefined function node_access_needs_rebuild() in /../view_unpublished/view_unpublished.install on line 11
Proposed resolution
Add node module as a dependency
Remaining tasks
None
User interface changes
None
API changes
None
Data model changes
None
Original report by [username]
(Text of the original report, for legacy issues whose initial post was not the issue summary. Use rarely.)
Comment | File | Size | Author |
---|---|---|---|
#2 | 2694139-1.patch | 324 bytes | casey |
Comments
Comment #2
casey CreditAttribution: casey at SWIS commentedComment #3
Bart Vanhoutte CreditAttribution: Bart Vanhoutte commentedWorks
Comment #5
amaria CreditAttribution: amaria commented