[Mono-dev] Replicating System.Web.Script.Serialization bugs
    R. Tyler Ballance 
    tyler at monkeypox.org
       
    Mon Oct  1 06:06:24 EDT 2007
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Oct 1, 2007, at 1:42 AM, Konstantin Triger wrote:
> Hey Tyler,
>
> If you need this urgently, please provide a fix.
> If not - it will be somewhere in my todo list and will be fixed in  
> a couple of weeks.
Would you recommend just adding another if statement in:
> internal object ConvertToType (Type type, object obj)
Or is the bug elsewhere? The best I could tell as far as a fix would  
be would be to check if it's a Nullable type, and then try/catch a  
convert recursing into ConvertToType and in the catch setting  
hasValue = false, etc.
If you can take the time to suggest a plan of action, I'd be more  
than happy to fix, test and commit a patch for this, since it's  
somewhat blocking me right now :)
Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHAMahA2GmJ0VpG78RAj6DAJwNBqkPL85OBjufkZafa4v6/lW60wCgoiJT
DUyhiLCjc+xXrwQ6i8ouMcY=
=rs5n
-----END PGP SIGNATURE-----
    
    
More information about the Mono-devel-list
mailing list