This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi - we are using Lightspeed version 3.0.789.12667(runtime version v2.0.50727). We are upgrading our application from VS 2008 /MVC 1 /.Net 3.5 to VS 2012/MVC 4/.Net 4,5 We will not upgrade Lightspeed for another 3 months so for the time being we are still using the same version of lightspeed we have. For one of our entities I noticed that when I call UpdateModel on a post I get the "An Item with the same key has already been added" I found the post below and was wondering if the same issue applies in our case. I tried downloading the latest nightly build (just to see if the issue will go away) but then I was limited to 8 entities only and we have far more than that. Is that a known issue with the configuration we are using. Also I noticed that on the problematic entity there is no identity column defined but unfortunately defining one did not make a difference. I specified id as the identity column which I believe is the default anyway so that's why I think it did not make a difference Please help as I am running out of options Thanks Susan |
|
|
No I don't think that will be the same issue - are you able to send us a small repro project for this? If so I can have a look at what's going on here. Also are you using the default MVC model binder?
|
|
|
Hi Jeremy, I wish I can send you a small project to reproduce but unfortunately it only happens with one of our entities and I can not reproduce it on any other entity. What I think will help me most if we have a Webex session where I can show you the issue exactly when it happens. Is that a possibility? I can set up the webex if that is OK. We can even do it via Skype and I can share my screen so u can see exactly what is happening. It is a very strange behavior and yes we are using the default MVC Model binder. If you have some time to do a webex type of thing just send me an e-mail with the best time for u. I am in EST time zone which is GMT - 5 I believe and any time between the hours of 7 a.m and 10 p.m. pretty much works for me Thanks Regards, Susan |
|
|
I figured it out!!!! it is not Lightspeed related. We had a property spelled with the same name but diff case. Thanks for confirming this is nit a Lightspeed issue. Susan |
|
|
Thanks for the update - Great to hear you have it all sorted :)
|
|