Problem/Motivation

Admin Toolbar released a 3.0 branch with some new features. It would be nice to be able to use the new features with Only One.

Steps to reproduce

$ composer require drupal/admin_toolbar:^3.0
$ composer require drupal/onlyone:1.x-dev
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for drupal/onlyone 1.x-dev -> satisfiable by drupal/onlyone[1.x-dev].
    - Conclusion: remove drupal/admin_toolbar 3.0.0
    - Conclusion: don't install drupal/admin_toolbar 3.0.0
    - drupal/onlyone 1.x-dev requires drupal/admin_toolbar ^2 -> satisfiable by drupal/admin_toolbar[2.x-dev, 2.0.0-beta1, 2.0.0-beta2, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0].
    - Can only install one of: drupal/admin_toolbar[2.x-dev, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.0.0-beta1, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.0.0-beta2, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.0.0, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.1.0, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.2.0, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.3.0, 3.0.0].
    - Can only install one of: drupal/admin_toolbar[2.4.0, 3.0.0].
    - Installation request for drupal/admin_toolbar (locked at 3.0.0) -> satisfiable by drupal/admin_toolbar[3.0.0].


Installation failed, reverting ./composer.json to its original content.

Proposed resolution

Review the 3.0 branch to determine if there are any changes that would affect this module, if not, bump version requirements. If yes, figure out what a patch might look like.

CommentFileSizeAuthor
#3 onlyone-n3204460-2.patch267 bytesdamienmckenna

Issue fork onlyone-3204460

Command icon 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

scottsawyer created an issue. See original summary.

DamienMcKenna made their first commit to this issue’s fork.

damienmckenna’s picture

Title: Update Admin Toolbar version » Update Admin Toolbar version to v3
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new267 bytes

I created a merge request with the necessary changes, which I've also uploaded in patch format. I have not tested the submodule to know if it still works, but this would at least solve the Composer problem.

adriancid’s picture

Status: Needs review » Fixed

Thanks

Status: Fixed » Closed (fixed)

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