Skip to content

NotConfigured logging breaks when the component is added by class object #5992

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

Closed
wRAR opened this issue Aug 1, 2023 · 0 comments · Fixed by #5950
Closed

NotConfigured logging breaks when the component is added by class object #5992

wRAR opened this issue Aug 1, 2023 · 0 comments · Fixed by #5950

Comments

@wRAR
Copy link
Member

wRAR commented Aug 1, 2023

As the log message for components that raise NotConfigured with a message assumes clsname is an import path string, it raises an AttributeError when it's a class instance.

clsname = clspath.split(".")[-1]

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

Successfully merging a pull request may close this issue.

1 participant