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.
Hi!
I had a problem with taxonomy_place's dependencies.
Long story short, not specifying the project fixes it:
...
dependencies:
- address
- taxonomy
...
From what I've read, the project should be specified in the .info.yml file, but eh... removing it makes it work so...
Comment | File | Size | Author |
---|---|---|---|
#8 | 3030130-add-geolocation-to-info.patch | 448 bytes | KarenS |
#7 | errors_in_dependencies_3030130_7.patch | 359 bytes | brooke_heaton |
Comments
Comment #2
veerabhadra CreditAttribution: veerabhadra at Valuebound commentedApply this patch. It will work fine.
Comment #3
ncg777 CreditAttribution: ncg777 commentedIndeed... It works.
Comment #4
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedFurthermore, there is a missing composer.json file which should stipulate a dependency on the geolocation module.
Comment #5
joy29 CreditAttribution: joy29 commentedComment #6
joy29 CreditAttribution: joy29 commentedComment #7
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedwe also need to add geolocation as a dependency in the .info file or install will fail.
https://cgit.drupalcode.org/taxonomy_place/tree/config/install/core.enti...
dependencies:
config:
- field.field.taxonomy_term.place.field_geolocation
- field.field.taxonomy_term.place.field_place
- field.field.taxonomy_term.place.field_short_name
- field.field.taxonomy_term.place.field_sortable_name
- taxonomy.vocabulary.place
module:
- address
- geolocation <----------------------------------------------------- This is a dependency
- path
- text
Comment #8
KarenS CreditAttribution: KarenS at Lullabot commentedThat patch does not use the correct format for dependencies, I re-rolled it.
Comment #10
KarenS CreditAttribution: KarenS at Lullabot commented