Problem/Motivation
This module is blocking use of domain 2.x due to version constraint in composer.json (which might be there for a good reason).
Steps to reproduce
Attempt to upgrade domain to 2.x on site with this module in composer.json:
- drupal/domain_menu_access is locked to version 2.0.0-alpha3 and an update of this package was not requested.
- drupal/domain_menu_access 2.0.0-alpha3 requires drupal/domain ^1 -> found drupal/domain[1.0.0-beta1, ..., 1.0.0-beta8] but it conflicts with your root composer.json require (^2.0@beta).
Proposed resolution
Initially just allow both 1.x and 2.x of domain, get it installed, then do some testing.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork domain_menu_access-3372512
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dubois commentedUsing the forked version requires a number of changes to composer.json:
"drupal/domain_menu_access": "dev-3372512-make-compatible-with",Module works as expected with domain 2.0.0-beta1. This is a trivial change so suggest so hope we can get it merged soon.
Comment #4
bruno_lima commented+1 for #2
Patch applies cleanly in current version (2.0.0-alpha3).
Still had to manually update composer.lock to add '^2' in the dependency string in order to get domain updated to '2.0.0-beta1', since composer.lock is generated before patches are applied.
Module works with domain version 2.x just fine, as expected.
This is a very simple change, so let's get this merged!
Cheers.
Comment #5
tim-dielsLet me look to get this committed.
Comment #7
tim-dielsGood work dubois!