Problem/Motivation

The following error is displayed when trying to rebuild caches on Drupal 10.1.8 and Media Library Bulk Upload 1.0.2:

The configuration key "autoconfigure" cannot be used to define a default value in "modules/contrib/media_library_bulk_upload/media_library_bulk_upload.services.yml". Allowed keys are "public", "tags", "autowire".

Proposed resolution

Remove the autoconfigure property or remove support for Drupal 10.

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

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Needs review
anybody’s picture

Status: Needs review » Needs work

@dieterholvoet I took the time to understand the changes made. This is a conflict with Drupal <= 10.2!

The change was made here: #3461352: RuntimeException: media_library.opener.bulk_upload must be an instance of Drupal\media_library\MediaLibraryOpenerInterface

And this is the core change record:
https://www.drupal.org/node/3457521

Sadly people forgot to remove Drupal < 10.3 support! So the correct solution would have been separate branches and removing Drupal < 10.3 support with this change. I'll do this now and also remove EOL Drupal versions!

anybody’s picture

@Maintainer: I'd vote to do it the following way to fix Drupal <= 10.2 installations before we remove the compatibility in future releases:

1. Merge MR!7 and tag a new 1.0.3 release that is thereby fixes older installations. So that becomes the last working Drupal <= 10.2 release!
2. Directly after that release merge MR!9 and tag a new 1.0.4 release that won't be compatible with Drupal <= 10.2

and we're cleanly done here!

anybody’s picture

Priority: Normal » Major
grevil’s picture

Status: Needs work » Reviewed & tested by the community

LGTM!

anybody’s picture

@maintainer: Please see #6!

  • anybody committed 81969cba on 1.0.x authored by redeight
    [#3530395] feat: The configuration key "autoconfigure" cannot be used to...

  • anybody committed 7578c3e3 on 1.0.x
    Revert "[#3530395] feat: The configuration key "autoconfigure" cannot be...

  • anybody committed 607fe73e on 1.0.x
    Unsupport old incompatible or EOL Drupal versions.
    [#3530395] feat: The...
anybody’s picture

Status: Reviewed & tested by the community » Fixed

Solved as written in #6

Thank you all!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • anybody committed 607fe73e on cherry-pick-81969cba
    Unsupport old incompatible or EOL Drupal versions.
    [#3530395] feat: The...

Status: Fixed » Closed (fixed)

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