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

SpEL could not call methods of Object on a Proxy-Object #23369

Closed
MrCoffee77 opened this issue Jul 26, 2019 · 1 comment
Closed

SpEL could not call methods of Object on a Proxy-Object #23369

MrCoffee77 opened this issue Jul 26, 2019 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: superseded An issue that has been superseded by another

Comments

@MrCoffee77
Copy link

Affects: Spring Framework 5.0/5.1


I found the problem, that I couldn't call methods of Object in the SpEL, when the target-object is a Proxy. In my case it was the toString()-method.
I build a test, which shows the behavior and my workaround:
SpelProxyText.zip

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 26, 2019
MrCoffee77 pushed a commit to MrCoffee77/spring-framework-1 that referenced this issue Jun 25, 2020
Make sure to have methods of Object on Proxy-Objects.
@rstoyanchev rstoyanchev added the in: core Issues in core modules (aop, beans, core, context, expression) label Nov 10, 2021
@snicoll
Copy link
Member

snicoll commented Dec 10, 2021

@snicoll snicoll closed this as completed Dec 10, 2021
@snicoll snicoll added status: superseded An issue that has been superseded by another and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: superseded An issue that has been superseded by another
Projects
None yet
Development

No branches or pull requests

4 participants