Bug Report B145169
Visible to All Users
Duplicate

Nonpersistent property change makes ObjectSpace modified

created 15 years ago

Test example is attached.
There are number of nonpersistent properties in PersistentObject. Run application and open PersistentObject detail view. If you change NonPersistent string or NonPersistentObject in nested detail view then ObjectSpace became modified and Save button bacame enabled. But nothing to save in this case.
But if you change value in NonPersistentObjectPropertyFromDiffs (manually added property editor) then nothing happens with Save button.
This behaviour looks strange.

Comments (1)
Dennis Garavsky (DevExpress) 15 years ago

    Hello,
    We have to rollback this fix because it caused other more serious issues. So, the described behavior is by design. However, we understand that there may be some scenarios, in which this behavior may be not appropriate. One of these scenarios is described in the ObjectSpace - provide an option to control whether the ObjectSpace is modified when a non-persistent property is changed suggestion, which we created in order to support such scenarios.
    Thanks,
    Dennis

    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.