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.
Hierarchical Select's Features integration is broken because common.inc isn't included before hierarchical_select_common_config_set gets called in hierarchical_select_features_rebuild. The attached patch fixes the problem, though I'm not sure if it's the best place for that code.
Comment | File | Size | Author |
---|---|---|---|
#12 | hierarchical_select-features_include_common-1134838-11.patch | 594 bytes | jeffschuler |
#5 | fix-missing-includes-1134838-5.patch | 785 bytes | davad |
#4 | fix-missing-includes-1134838-4.patch | 557 bytes | kyle_mathews |
#3 | fix-missing-includes-1134838-3.patch | 601 bytes | davad |
#1 | fix-missing-includes-1134838-1.patch | 909 bytes | kyle_mathews |
Comments
Comment #1
kyle_mathews CreditAttribution: kyle_mathews commentedI had the same problem. The Features page won't even load without this patch which took me awhile to track down the cause. It doesn't look like a patch got attached so I've attached one I created.
Comment #2
cotto CreditAttribution: cotto commentedHow clever of me. The patch kyle_mathews posted is essential the same as mine. Thanks.
Comment #3
davad CreditAttribution: davad commentedRerolled Kyle's patch against 6.x-3.7 to include in a drush make file.
Comment #4
kyle_mathews CreditAttribution: kyle_mathews commentedTrying another patch for our make file.
Comment #5
davad CreditAttribution: davad commentedThe patch stopped applying correctly when we switched to pressflow. It looks like git-apply applies patches against the base of the working directory. Attached is a rerolled patch against a pressflow installation.
Comment #6
mcjim CreditAttribution: mcjim commentedPatch(es) work(s).
Makes sense to move the include to within the if statement, though? Save it being called if not needed.
Comment #7
Wim LeersLooks good.
Comment #8
wizonesolutionsThis fixed it for me as well. +1.
Comment #9
jdwfly CreditAttribution: jdwfly commentedDefinitely needs to be committed. Just ran into this issue today. Unusable without this small change.
Comment #10
Wim LeersCommitted, thanks!
http://drupalcode.org/project/hierarchical_select.git/commit/c7df52e
Comment #12
jeffschulerSame thing for D7, to fix:
Comment #13
Wim Leers#12: that was fixed in [#1847974 ].
Comment #14
Wim Leers#12: that was fixed in [#1847974 ].