There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
ViewModel and its adaptor being created twice
This ticket is just a placeholder - resulting from working with Aidan C.
A single request appears to be creating the same view model twice, with two separate adaptors, wrapping two separate POCOs.
It is only causing them a problem because they are doing some highly non-standard stuff (switching the POCO on the adaptor - to point to a NOF POCO object. So on the second time around the framework (rightly) protests that it already has an adaptor for this
I suggested a temporary workaround that appeared to work - without any side effects showing yet. (Which is that when the second one is created, to find and delete the first Adaptor.)
But longer term we should look at why this is happening at all.