This project is read-only.


Mono Framework support (fixed)


Most MemoDb unit tests fail under Mono framework with the message:
System.InvalidCastException : Cannot cast from source type to destination type.
at MemoDb.MemoSession.<ValidateRelationshipWereProperlySaved>b__8 (System.Object obj, System.Reflection.PropertyInfo property) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator143[System.Object,System.Reflection.PropertyInfo,System.Collections.IDictionary].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D
1[System.Collections.IDictionary].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator122[System.Collections.IDictionary,System.Object].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateUnionIterator>c__Iterator1C
1[System.Object].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateUnionIterator>c__Iterator1C1[System.Object].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D
1[System.Object].MoveNext () [0x00000] in <filename unknown>:0
at MemoDb.MemoSession.ValidateRelationshipWereProperlySaved () [0x00000] in <filename unknown>:0
at MemoDb.MemoSession.Flush () [0x00000] in <filename unknown>:0
NUnit 2.5.10 log is attached.

file attachments

Closed Aug 11, 2011 at 7:01 AM by ivos


yallie wrote Jul 5, 2011 at 12:33 AM

I've just figured out how to fix this issue and uploaded a patch.

wrote Jul 5, 2011 at 12:47 AM

ivos wrote Jul 24, 2011 at 6:47 PM

Where is the patch?


ivos wrote Jul 24, 2011 at 6:47 PM

Where is the patch?


yallie wrote Jul 24, 2011 at 7:49 PM

Hi, ivos!

But, as I can see, you've already found and applied my patches :)
Please close both of my issues then.

Regards, yallie.

wrote Aug 11, 2011 at 7:01 AM

wrote Feb 2, 2013 at 3:00 AM

wrote May 13, 2013 at 7:27 PM