Issue Details (XML | Word | Printable)

Key: SPRNET-952
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Erich Eichinger
Reporter: Erich Eichinger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring.NET

ObjectCurrentlyInCreationException constructor mismatch doesn't show affected object's name

Created: 29/May/08 05:59 AM   Updated: 14/Aug/08 08:56 PM   Resolved: 29/May/08 08:19 AM
Component/s: Spring-NET-CORE
Affects Version/s: 1.1.2
Fix Version/s: 1.2 M1

Time Tracking:
Not Specified


 Description  « Hide
using "new ObjectCurrentlyInCreationException(objectName)" causes error messages to not correctly display the affected object name like shown below:

Spring.Objects.Factory.ObjectCurrentlyInCreationException : Error thrown by a dependency of object 'requestScopedObject' : requestScopedObject
 while resolving 'Sibling' to ''

instead of

Spring.Objects.Factory.ObjectCurrentlyInCreationException : Error thrown by a dependency of object 'requestScopedObject' : while resolving 'Sibling' to 'requestScopedObject'


Erich Eichinger added a comment - 29/May/08 08:19 AM
fixed constructor and added tests to ensure, the sig doesn't change unrecognized