Make the plugin discovery case sensitive

Created on 13 February 2016, over 8 years ago
Updated 30 January 2023, over 1 year ago

Problem/Motivation

The file system on OSX is not case sensitve, while the drupal.org testbots / travisci / ... is case sensitive. This can lead to a timesink: https://twitter.com/bojan_zivanovic/status/689751236371976192

We can't change the os's case sensitivity, we can however make sure that we inform a developer when the namespace isn't exactly the same as the the expected namespace.

Proposed resolution

Make the AnnotatedClassDiscovery throw a new exception when the file's not in the expected namespace.

Remaining tasks

Make the AnnotatedClassDiscovery throw a new exception when the file's not in the expected namespace.

User interface changes

None.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Needs work

Version

10.1 ✨

Component
PluginΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡§πŸ‡ͺBelgium borisson_ Mechelen, πŸ‡§πŸ‡ͺ

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Needs Review Queue Bot β†’ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

Production build 0.69.0 2024