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

[5.x] Adjusts app extension namespace logic #11233

Closed

Conversation

JohnathonKoster
Copy link
Contributor

@JohnathonKoster JohnathonKoster commented Dec 7, 2024

This PR fixes #11231

If the path contains backslashes, the nested directory handling introduced in #11046 will cause auto-loading to fail, even for classes that are not in sub-directories.

This PR refactors how namespaces are determined and adds some test coverage (just testing the namespaces produced from different base path and app namespace combinations).

@JohnathonKoster JohnathonKoster marked this pull request as draft December 7, 2024 16:11
@JohnathonKoster JohnathonKoster marked this pull request as ready for review December 7, 2024 16:24
@jnbn
Copy link

jnbn commented Dec 9, 2024

I think PR should be prioritised as it fixes this bug is affecting all Windows environments after the changes on 5.42

@Biostate
Copy link

Biostate commented Dec 9, 2024

This PR fixes issue #11046 on Windows.

@david-windsock
Copy link

Maybe this is the cause of #11241?

@jasonvarga
Copy link
Member

Thanks! Got an alternative solution in #11246

@jasonvarga jasonvarga closed this Dec 11, 2024
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

Successfully merging this pull request may close these issues.

Broken app extension registration
5 participants