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

[Bug]org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge #14104

Closed
3 of 4 tasks
luoning810 opened this issue Apr 19, 2024 · 2 comments · Fixed by #14156
Closed
3 of 4 tasks
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@luoning810
Copy link
Contributor

luoning810 commented Apr 19, 2024

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

3.2.11

Steps to reproduce this issue

org.springframework.core.annotation.AnnotatedElementUtils#tryGetMergedAnnotation 注解属性merge未生效

What you expected to happen

image 问题:findMethod 结果为null

推测原因:通过反射获取 org.springframework.core.annotation.AnnotatedElementUtils#getMergedAnnotation方法时入参错误。
spring 版本:5.3.x
image

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@luoning810 luoning810 added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Apr 19, 2024
@luoning810
Copy link
Contributor Author

@songxiaosheng Please help confirm

@luoning810 luoning810 changed the title org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge [BUG]org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge Apr 23, 2024
@luoning810 luoning810 changed the title [BUG]org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge [Bug]org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge Apr 23, 2024
@AlbumenJ
Copy link
Member

AlbumenJ commented May 8, 2024

Please submit the issue in English :)

@AlbumenJ AlbumenJ closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment