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
|
I'm having trouble tracking down a breaking change between LS version 5.0.2302 (which works fine) and LS version 5.0.2587 (official release version - or the latest build version 5.0.2841). When I set a windows forms BindingSource.DataSource = MyLightSpeedEntity under the old version everything works fine as it has done for years of previous versions of Lightspeed. But when I use the latest version the bindings seem to force a walking up and down the tree loading up a whole lot of unnecessary entities in all directions (ie: full tables of transaction data - completely unnecessarily) and causing no end of grief. Unfortunately while merely detaching the entities loaded solves the problem in that one place - that introduces all sorts of other grief in other places (eg: updates and other select operations) due to the unfortunate way the application was built (not well). I would just like to know what changes took place between these versions that might cause this behaviour - and if there is any other workaround (other than remaining on an old version) that I can use to prevent it. Thanks. |
|
|
This sounds similar to http://www.mindscapehq.com/forums/thread/1566549, we fixed some bugs relating to BeginEdit/EndEdit not being propagated correctly which would impact this. If you set the EnableCandidateFixes flag on LightSpeedContext.CompatibilityOptions does this resolve the issue for you? e.g.
|
|
|
Yes - setting the the EnableCandidateFixes flag fixed the issue. What is that? How has this worked? Will it always work? Also - where can I get a list of the version numbers for the releases - am working with 4 different versions at the moment and want to go to the current stable release for v5. Thanks! |
|
|
That flag enables a change to not traverse child associations when calling BeginEdit, this counters the fix where BeginEdit was incorrectly not traversing child associations which would lead to missed edits in those cases. We are intending to move this to a separate flag in the future (e.g. next major release) so we will publish details about this at the appropriate time. The current stable version for LightSpeed 5 is 5.0.2597.
|
|