ghostly72 opened a new pull request, #15999:
URL: https://github.com/apache/dubbo/pull/15999

   #15484 
   
   When a Dubbo Triple service extends the generated stub base class, 
HTTP-based requests could return 404 if the service method name uses 
lowerCamelCase (sayHello) while the generated StubServiceDescriptor stores 
method keys in UpperCamelCase (SayHello) because StubServiceDescriptor stores 
entries using method names in UpperCamelCase while 
DefaultRequestMappingRegistry  returns method names in lowerCamelCase.
   As a result, lookups like getMethod("sayHello", ...) returned null, and no 
HTTP route was registered.
   
   Fix:
   Added a fallback lookup to try the name with the first letter capitalized 
when the initial lookup fails:


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to