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.
The beans all module depends on the Block module but the Block module is not listed as a dependency in the beans all info file. (Patch on it's way.)
Comment | File | Size | Author |
---|---|---|---|
#1 | adds_block_dependency-2146879.patch | 331 bytes | Dave Bagler |
Comments
Comment #1
Dave Bagler CreditAttribution: Dave Bagler commentedHere's the patch.
Comment #2
indytechcook CreditAttribution: indytechcook commentedWhere is the dependency? module_implements('block_info') just implements the hook, it doesn't require the block module. The point of bean all is to implement other modules core blocks as bean types. It is possible that I missed something though.
Comment #3
raychaser CreditAttribution: raychaser commentedI'm not sure this should be in the been _all module. The core Bean module certainly has stuff to do with the 'block' table in its install file.
For me, the issue presented itself when I tried a drush makefile with a custom install profile that included bean.
Bean tried to install itself before the block module and I got an error about 'block_custom' table not being present.
From the same criteria "menu" is also required.
Comment #4
Dave Bagler CreditAttribution: Dave Bagler commented@raychaser, that's an interesting point. We were installing from an install profile as well but we weren't running into issues on the core Bean module, but on the Bean All module. I don't have time today, but I'll try installing Bean and Bean all on a site that has never had the blocks module installed soon and post back.
@indytechcook, as @raychaser mentioned it's at install time that the bean_all module is looking for the block_custom table and failing if it isn't there.
Comment #5
jonhattanComment #6
Dave Bagler CreditAttribution: Dave Bagler commentedSame problem exists with bean all missing a dependency on the menu module #2176095: Bean All depends on Menu at install time
Comment #7
Dave Bagler CreditAttribution: Dave Bagler commentedComment #8
Dave Bagler CreditAttribution: Dave Bagler commentedA combined patch for this issue and #2176095: Bean All depends on Menu at install time is available here: https://gist.github.com/DaveBagler/8482748/raw/2dbcb04cecc1a489265c8a6cf...
Comment #9
minorOffense CreditAttribution: minorOffense commentedComment #10
indytechcook CreditAttribution: indytechcook commentedThanks. https://drupal.org/commitlog/commit/22232/478427fce9f0f650aca1dc4a8e38a9...