[
https://issues.apache.org/jira/browse/WICKET-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-28.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0
1.3
Assignee: Igor Vaynberg
> Add an option to turn off beans check in SpringBeanLocator
> ----------------------------------------------------------
>
> Key: WICKET-28
> URL: https://issues.apache.org/jira/browse/WICKET-28
> Project: Wicket
> Issue Type: New Feature
> Components: wicket-spring
> Reporter: Ingram Chen
> Assigned To: Igor Vaynberg
> Fix For: 1.3, 2.0
>
> Attachments: wicket-spring-fail-fast-patch.txt
>
>
> In wicket 1.2.3, SpringBeanLocator.lookupSpringBean() force check all
> injected bean:
> if (beans.size() == 0)
> throw new IllegalStateException("bean of type [" + clazz.getName()
> + "] not found");
> This check is good for production. But in test environment, it would be
> better that
> we can turn off this check somewhere since test case does not always
> prepare non-tested bean.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.