Details
-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
DefaultPicocontainer.getInstance() first trys to create a component itself and if an exception is caught it trys to create the component from the parent and silently ignores the exception.
I do not want this behaviour in my app and I cannot switch it off with a config parameter. If I define a component adapter to be used in a container and it fails I want to know why. The parent container (in a different application scope) gives me the wrong object.
Activity
John Patterson
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | LocalExceptionUsesParent.java [ 20760 ] |
Jörg Schaible
made changes -
Fix Version/s | 1.3 [ 11331 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] | |
Assignee | Joerg Schaible [ joehni ] |
Paul Hammant
made changes -
peter royal
made changes -
Jörg Schaible
made changes -
Hi John,
could you attach a (failing) test case which reproduces the bevaviour that you'd like?
Thanks