1

Closed

Mono Framework support (fixed)

description

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 6:01 AM by ivos

comments

yallie wrote Jul 4, 2011 at 11:33 PM

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

wrote Jul 4, 2011 at 11:47 PM

ivos wrote Jul 24, 2011 at 5:47 PM

Hey!
Where is the patch?

Thanks!!

ivos wrote Jul 24, 2011 at 5:47 PM

Hey!
Where is the patch?

Thanks

yallie wrote Jul 24, 2011 at 6:49 PM

Hi, ivos!
http://memodb.codeplex.com/SourceControl/list/patches

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 6:01 AM

wrote Feb 2, 2013 at 2:00 AM

wrote May 13, 2013 at 6:27 PM