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

Printing the correct class name #54

Open
damjangelovski opened this issue Aug 29, 2016 · 0 comments
Open

Printing the correct class name #54

damjangelovski opened this issue Aug 29, 2016 · 0 comments

Comments

@damjangelovski
Copy link
Collaborator

damjangelovski commented Aug 29, 2016

AOP proxies the class with an extended class (say TimedProxy) and when we call CompConstructor.name we get "TimedProxy". In order to get the name of the original class it is best to call ComponentUtil.getComponentData(componentDefinition).componentName. This should be checked and changed in the whole code.

P.S. The error messages on decorator (and some other) errors dont need to do this as they are done before the post-processing

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