google-code-export / otis-lib

Automatically exported from code.google.com/p/otis-lib
2 stars 0 forks source link

NullValue attribute in mapping is ignored #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NullValue attribute in mapping is not used at all.

Generated code doesn't check source values against null, so it tries to
execute the mapped expression which leads to NullReferenceException.

Original issue reported on code.google.com by zdeslav....@gmail.com on 26 May 2008 at 7:30

GoogleCodeExporter commented 9 years ago
Fixed in 0.2.34.1
Example of using NullValue can be found in src\Otis.Tests\AttributedUserDTO.cs

Original comment by zdeslav....@gmail.com on 26 May 2008 at 10:22