AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

GetIdValue for composite key support causes 'System.ArgumentException' occurred in System.Core.dll #508

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. DynamicListBase and EditableRoot's bound to a wpf grid. When you double 
click on a line item you get the error
2.
3.

What is the expected output? What do you see instead?
A first chance exception of type 'System.ArgumentException' occurred in 
System.Core.dll

System.Transactions Critical: 0 : <TraceRecord 
xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" 
Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System
/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Descr
iption>Unhandled 
exception</Description><AppDomain>WpfApplication1.vshost.exe</AppDomain><Excepti
on><ExceptionType>System.ArgumentException, mscorlib, Version=4.0.0.0, 
Culture=neutral, 
PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Expression must be 
writeable

Parameter name: left</Message><StackTrace>   at 
System.Linq.Expressions.Expression.RequiresCanWrite(Expression expression, 
String paramName)

see this post http://forums.lhotka.net/forums/p/9540/45243.aspx

What version of the product are you using?

Please provide any additional information below.

Original issue reported on code.google.com by te...@caipw.ca on 1 Oct 2010 at 6:12

GoogleCodeExporter commented 9 years ago
Hello,

I've contacted rocky about this and it should be fixed in CSLA 4.1 which is 
going to be in beta fairly soon.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 4 Oct 2010 at 12:33

GoogleCodeExporter commented 9 years ago
http://forums.lhotka.net/forums/p/9957/46711.aspx#46711

Original comment by bniemyj...@codesmithtools.com on 19 Jan 2011 at 7:16

GoogleCodeExporter commented 9 years ago
Can you please see if this has been fixed in CSLA 4.1 and update this ticket 
and the two posts on the CSLA Forums (listed above).

Original comment by bniemyj...@codesmithtools.com on 19 Jan 2011 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 2 Mar 2012 at 9:59