Bug (?) with Delete in Inventory demo?

Bug (?) with Delete in Inventory demo?

Old forum URL: forums.lhotka.net/forums/t/6702.aspx


triplea posted on Monday, March 30, 2009

I've just downloaded the 3.6.2 Release Candidate and looking at the InventoryDemo for the first time. There appears to be a bug when I press the "Delete" button. The selected Product to be deleted does not get removed from the list and when clicking on it I get a "DataPortal.Fetch failed (Sequence contains no elements)" error. When restarting the app the item is removed so the deletion does happen.

It appears the refresh on the "ProductList" CslaDataProvider resource does not refresh correctly. I tried to debug it but the code won't step in InvDal. Tried to fire another instance of VS2008 setting the InvDal or InvLib.Server projects as startup and attatching to Cassini but I get an error message "Unable to attach to process. A debugger is already attached".

Apologies if this is a known issue or if this is something silly from my part but some guidance on how to step through this would be great!

RockfordLhotka replied on Monday, March 30, 2009

The InventoryDemo is very much a work in progress and is changing fairly rapidly, so it could have issues at any given point in time. I appreciate the feedback though, and I'll take a look at delete when I get a chance.

Copyright (c) Marimer LLC