Updating to rc4 update.php error
UNRESOLVED DEPENDENCY
Entity (Version >=8.x-1.0-beta1 required)
Profile requires this module and version. Currently using Entity version
Ran composer require drupal/entity:^1.0-rc1 to swap out dev release ~ had no effect.
Edit profile.info.yml and change: - entity:entity (>=8.x-1.0-beta1) TO - entity:entity
Can now run update.
The profile modules composer.json contains...
"require": {
"drupal/core": "^8.5",
"drupal/entity": "^1.0-rc1"So the extra goodness in profile.info.yml is unnecessary.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | profile-false-entity-version-3040365-5.patch | 337 bytes | johnpitcairn |
Comments
Comment #2
lamp5I have the same issue after updating to the latest version.
Comment #3
lamp5Comment #4
millenniumtreeI can confirm that removing that line
"drupal/entity": "^1.0-rc1"from profile.info.yml solves the issue.
Comment #5
johnpitcairn commentedSigh. Here's a patch removing that entity dependency line, though perhaps it would be better to leave it in without a version specified, for module install/uninstall?
Comment #6
johnpitcairn commentedOops, patch above was against 8.x-1.0-rc4. Will fix.
Comment #7
bojanz commentedYeah, let's not enforce minimum versions in info.yml, it annoys more than it helps.
We can't just remove the dependency line though.
Comment #9
bojanz commentedPushed a fix.