Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing this on top of a blank starter or starter_dev site results in an error #11

Closed
noahwsmith opened this issue Nov 2, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@noahwsmith
Copy link

What steps does it take to reproduce the issue?

git clone git@github.com:Islandora-Devops/isle-dc.git
cd isle-dc/
make starter
docker-compose exec drupal bash -c "chown -R nginx:nginx web"
docker-compose exec drupal bash -c "chmod u+w web/sites/default/settings.php"
docker-compose exec -u nginx drupal bash -c "composer require islandora/islandora_mirador"
docker-compose exec -u nginx drupal bash -c "drush en islandora_mirador"
  • What happens?
In UnmetDependenciesException.php line 100:

  Configuration objects provided by <em class="placeholder">islandora_mirador</em> have unmet dependencies: <em class="placeholder">core.entity_view_display.node.islandora_object.mirador (islandora_defaul
  ts)</em>

  • What did you expect to happen?

I thought islandora_defaults was in conflict with this module (see Islandora-Devops/islandora_install_profile_demo#28 (comment)) and islandora_defaults is not listed as a dependency here, so I think the config dependency should probably be be removed or edited.

Which version of Islandora are you using?

2.4.3

@noahwsmith noahwsmith added the bug Something isn't working label Nov 2, 2022
@noahwsmith
Copy link
Author

oh @ajstanley I think your #9 fixed this, but the default install relies on tags to include the latest. Tagging a 2.2.2 on this repo should fix this issue for other folks. I'll switch to 2.x-dev for my work in the meanwhile...

@noahwsmith
Copy link
Author

Yep, that does it:

noahs-m2-mbp-4:isle-dc noah$ docker-compose exec -u nginx drupal bash -c "composer require islandora/islandora_mirador:2.x-dev"
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update islandora/islandora_mirador
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading islandora/islandora_mirador (2.2.1 => 2.x-dev ee0a777)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Syncing islandora/islandora_mirador (2.x-dev ee0a777) into cache
  - Removing islandora/islandora_mirador (2.2.1)
  - Installing islandora/islandora_mirador (2.x-dev ee0a777): Cloning ee0a777089 from cache
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
68 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
noahs-m2-mbp-4:isle-dc noah$ docker-compose exec -u nginx drupal bash -c "drush en islandora_mirador"
 [success] Successfully enabled: islandora_mirador
noahs-m2-mbp-4:isle-dc noah$

@rosiel
Copy link
Member

rosiel commented Nov 10, 2022

tag 2.2.2 created.

@rosiel
Copy link
Member

rosiel commented Nov 23, 2022

Can you test whether this is still an issue?

@rosiel
Copy link
Member

rosiel commented Nov 24, 2022

  • The config in question was moved to /optional back on Oct 26, so this should no longer block installation.
  • However you might not have gotten the most recent version because the 2.2.2 tag was only cut 2 weeks ago and when you composer require'd mirador you didn't state a version. Perhaps you got the latest tag without this improvement?
  • When I installed islandora_mirador:^2.2.2 on top of a starter_dev playbook, it installed fine.
  • However I did notice that config depends on islandora_defaults so i'm making a PR to take it out.

@rosiel
Copy link
Member

rosiel commented Nov 24, 2022

Glad it's fixed, (sorry, in the call yesterday we kind of skimmed) though see above PR.

@noahwsmith
Copy link
Author

Sounds like we're all set here so I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants