[ https://issues.apache.org/jira/browse/SLING-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14289353#comment-14289353 ]
Justin Edelson commented on SLING-4337: --------------------------------------- Proposed patch: https://codereview.appspot.com/192520043 [~radu.cotescu] please take a look when you have a chance > Sightly should only log errors from use providers if none of the use > providers succeeded > ---------------------------------------------------------------------------------------- > > Key: SLING-4337 > URL: https://issues.apache.org/jira/browse/SLING-4337 > Project: Sling > Issue Type: Bug > Components: Scripting > Reporter: Justin Edelson > Fix For: Scripting Sightly Engine 1.0.0 > > > While iterating through the use providers, it is possible that one with fail > and a later one will succeed. In this case, it doesn't make sense to log the > failure from the first case. However, this is exactly what happens now with > the PojoUseProvider which logs an error if a class can't be instantiated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)