Hi. I spent a lot of time trying to insert an object in web application. It is absolutely impossible. Well, I decided to use another session for it. And I received another problem :?
Updated at 02.11.2009 8:58:33
SMB is mine? :shock: Are you kidding? Well, so be it. This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by buck. |
Stack trace is really suspecious (recursion on prefetch)... We made a lot of complex changes to any fetch logic because of Prefetch API in v4.1, and I looks like there are still issues like this. Can you send us the source code or its essential part? We'll try to eliminate all the problems on this weekend. Concerning insertion: that's really strange, since both ASP.NET MVC and ASP.NET samples are doing this; http://liveui.net/ is also backed by DO4, although AFAIK it does not relies or our SessionManager. I don't know the details in your case (exception, stack trace, etc.), I so it's really difficult to advise anything... I added http://code.google.com/p/dataobjectsdot ... ail?id=460 , so this will be done ASAP. And... SMB is officially yours ;) I hope this will partially compensate the disappointment after fighting with own bugs... Must be fixed in the latest nightly build - there was a bug leading to infinite recursion in TransactionalStateContainer-based types when there is no transaction. In our tests this is a rare case - normally we establish transaction boundaries manually; tests for auto transactions are separate & pretty limited. So that's the reason we didn't get it. Can you provide any other details? E.g. are there auto transactions? What actions lead to this sequence? You can send us the code by e-mail or as private message, if it's not acceptable to share it here. That's really disappointing... Lots of tests, but there are bugs in pretty simple cases. What's clear is that we need tests utilizing all the basic operations in randomized sequences. In the end this must allow to isolate most of bugs like this. Well, you really reported too many bugs in few days :oops: Btw, likely, the issue with stack overflow will be fixed tomorrow. At least we were able to reproduce some similar case. buck wrote: > Btw, likely, the issue with stack overflow will be fixed tomorrow. At least we were able to reproduce some similar case. Still doesn't work (version 11/3/2009) |