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

Dependency with drupal/emr is causing wrong autoload_psr4 for emr pointing root src/ #176

Open
nbueneju opened this issue Apr 20, 2023 · 0 comments

Comments

@nbueneju
Copy link

nbueneju commented Apr 20, 2023

Hi,
When requiring openeuropa/oe_list_pages which requires drupal/emr we are facing an issue which is a wrong entry in composer autoload_psr4 which is pointing to root src/ directory instead of the relative path to the contrib module.

'Drupal\\emr\\' => array($baseDir . '/src'),

And this is impacting in case of having custom classes for the project under root src/ directory.

When individually requiring drupal/entity_meta_relation 1.2.0 what you get in lock file is not containing autoload definition and including some dev requirements to drupal/emr and other components like drupal/entity_meta_audio ...
When requiring drupal/emr what you get in lock is metapackage which depends on drupal/entity_meta_relation

So could be that fixing the dependency from drupal/emr into drupal/entity_meta_relation avoid having that issue?

Issue related open into Drupal.org Entity Meta Relation contrib module: https://www.drupal.org/project/entity_meta_relation/issues/3253273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant