You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "luoning810 (via GitHub)" <gi...@apache.org> on 2024/04/19 07:12:27 UTC

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

luoning810 opened a new issue, #14104:
URL: https://github.com/apache/dubbo/issues/14104

   ### Pre-check
   
   - [X] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) 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
   
   <img width="1324" alt="image" src="https://github.com/apache/dubbo/assets/22349611/79763ae3-277c-4c8c-a41f-e56a359a4b82">
   问题:findMethod 结果为null
   
   推测原因:通过反射获取 org.springframework.core.annotation.AnnotatedElementUtils#getMergedAnnotation方法时入参错误。
   spring 版本:5.3.x
   <img width="1443" alt="image" src="https://github.com/apache/dubbo/assets/22349611/7b4af4a6-3b50-4f14-be2f-d4a9923ee220">
   
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [X] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


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

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #14104:
URL: https://github.com/apache/dubbo/issues/14104#issuecomment-2099659186

   Please submit the issue in English :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge [dubbo]

Posted by "luoning810 (via GitHub)" <gi...@apache.org>.
luoning810 commented on issue #14104:
URL: https://github.com/apache/dubbo/issues/14104#issuecomment-2068534678

   @songxiaosheng  Please help confirm


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


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

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ closed issue #14104: [Bug]org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge
URL: https://github.com/apache/dubbo/issues/14104


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org