History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-183
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Diephouse
Reporter: Øyvind Matheson Wergeland
Votes: 0
Watchers: 0
Operations

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

Nil values are instantiated

Created: 25/Nov/05 06:50 AM   Updated: 04/Dec/05 09:26 AM
Component/s: Aegis Module
Affects Version/s: 1.0-M6
Fix Version/s: 1.0-M6

Time Tracking:
Not Specified

File Attachments: 1. Text File BeanType.java.patch (2 kb)



 Description  « Hide
A nil value in a mesasge results in an instantiated object.
org.codehaus.xfire.aegis.type.basic.BeanType is not symmetric with the respect to null/nil values.
See attachment for a patch that fixes this problem.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Øyvind Matheson Wergeland - 02/Dec/05 07:58 AM
I see that the patch is in - excellent.

I forgot to remove the comment (line 83-84 in CVS) when refactoring to always test for nil values, though. Shouls be removed, as wrong documentation is worse than no documentation!