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.

Comments

.jch created an issue. See original summary.

lamp5’s picture

I have the same issue after updating to the latest version.

lamp5’s picture

Priority: Normal » Major
millenniumtree’s picture

I can confirm that removing that line
"drupal/entity": "^1.0-rc1"
from profile.info.yml solves the issue.

johnpitcairn’s picture

Title: Updating to rc4 update.php False entity version error » Updating to rc4 update.php False entity version error
Version: 8.x-1.0-rc4 » 8.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new337 bytes

Sigh. 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?

johnpitcairn’s picture

Oops, patch above was against 8.x-1.0-rc4. Will fix.

bojanz’s picture

Title: Updating to rc4 update.php False entity version error » Stop enforcing entity version in profile.info.yml
Priority: Major » Normal
Status: Needs review » Needs work

Yeah, let's not enforce minimum versions in info.yml, it annoys more than it helps.

We can't just remove the dependency line though.

  • bojanz committed 7170e7b on 8.x-1.x
    Issue #3040365 by John Pitcairn, bojanz: Stop enforcing entity version...
bojanz’s picture

Status: Needs work » Fixed

Pushed a fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.