This project is read-only.

Bug Report

Jun 14, 2013 at 1:39 PM
Sometime when save new object to database. will arise an exception
NullNativeObjectInfo can't convert to NonNativeObjectInfo
at \Meta\Compare\ObjectInfoComparator.cs line146
the code is :
var nnoi = (NonNativeObjectInfo) value1;
I thnik it used for compare new and old object to check if need to save.
so I think if value 1 is NullNativeObjectInfo and value2 is NonNativeObjectInfo
it should need to save so I chane code at line 136 as :
if (objectReference != null && value1 is NullNativeObjectInfo == false)
and now it run ok, but i don't sure will have any problem.
may you check, thanks!!!
Jun 28, 2013 at 7:36 PM
Could you create a bug/issue on that ?

Ideally would be if we find a way to reproduce it.