gh-yzou opened a new pull request, #1758:
URL: https://github.com/apache/polaris/pull/1758

   Although we do a check of !realmContextInstance.isUnsatisfied() it only 
checks if there is matching bean, however, it doesn't check if the context is 
active or not. Similarly isResolvable also don't check if the scope is active. 
Therefore if getConfiguration is called when there is no active scope, it will 
get Exception like ContextNotActiveException. 
   
   In order to handle things more gracefully
   1) use isResolvable instead of isUnsatisfied to handle ambiguities
   2) add a try catch to fallback to default gracefully.


-- 
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: issues-unsubscr...@polaris.apache.org

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

Reply via email to