Closed (fixed)
Project:
Entity Reference Facet Link
Version:
8.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 Jun 2020 at 21:10 UTC
Updated:
14 Oct 2020 at 17:13 UTC
Jump to comment: Most recent
Comments
Comment #2
dcam commentedWhat version of Drupal are you using?
Comment #3
selecta commentedDrupal Version
8.8.6
Comment #4
dcam commentedI'm sure this was because of conflicting version requirements. I needed to update the version requirements for D9 anyway. I just released Beta 6 with that change. If it doesn't work for you, then set this issue's status back to Active and I'll take another look.
Comment #5
selecta commentedThe Module Works perfectly.
The problem is in your .info.yml file:
dependencies:
- facets:facets (>=8.x-1.0-beta1)
But the newest dev version of Facet is written as "drupal/facets": "1.x-dev"
in my root composer.json file.
So Entity Reference Facet Link is unable to activate except i delete or overwrite your dependence.
But still this module saved hours of my life!
Thx
Comment #6
dcam commentedOh, I get what's happening now.
First off, there's nothing wrong with the dependency in the .info file. .info and composer.json dependencies are written differently. Check out https://www.drupal.org/docs/creating-custom-modules/let-drupal-know-abou... for more info.
What's happening is that ERFL needs a specific minimum version of Facets required in order to work (because of an API change, if you want to know). But it sounds like you have dev branch of Facets downloaded. Drupal doesn't know that your dev branch includes that minimum version. All it sees is the dev branch. So it thinks the dependency isn't fulfilled.
I don't know why you need the Facets dev branch instead of the latest version. I'm going to guess that it's because you need a bug fix or feature that's in it. If that's the case then once a new release has been made you should require that. Until then you can keep the ERFL dependency deleted as you've done.
Comment #8
kreatil commentedI'm running Facets 8.x-1.5. I get the same error on admin/reports/status:
Unresolved dependency -- Facets (Version >=8.x-1.0-beta1 required)Comment #9
platinum1 commentedSame error with Facets 8.x-1.5