Using 10.2.6.11095
New objects seem to instantly have an Oid in this build. I do a lot of rules (COnditional Appearance) that disable fields for objects that have been saved (oid is not null)
Suddenly, in this build, any new object I create has an OID breaking my rules.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
attached project
run, create a new object, the MyOid property has an Oid.
Hello Nate,
Since there were some problems with the delayed IDs generation, we decided to introduce an additional ID generation mode (see Scheduler.Web - Cannot delete newly created events in a nested List View). It can be switched via the BaseObject.OidInitializationMode static property. In your intermediate build, the new mode is set by default, but we subsequently discussed this with our developers, and decided to leave the previous default behavior unchanged in the release version. Currently, please turn off the new behavior via the BaseObject.OidInitializationMode property.
I also suggest that you use the Session.IsNewObject method, to check whether the current object is new. You can introduce a special boolean property for this.
Thanks,
Anatol