Bug Report T336579
Visible to All Users

Property definitions are not correctly generated if SelectedObject is changed when an editor assigned to a nested property that is not present in a new object is active

created 9 years ago

After upgrading to v1.8, our users started experiencing an issue with the PropertyGridControl not displaying selected items. Upon further investigation, I found that the issue occurs when you have an object that has a property defined to use the ExpandableObjectConverter. If you expand and are editing one of the properties' sub-items, then change to an object that does not have that same property, the PropertyGridControl shows up empty.

This behavior can be seen in the attached project. Any item displayed as #Circle: ##" has a Center property that uses the ExpandableObjectConverter. If you expand the Center and edit any of X, Y or Z and then change to one of the "Rectangle: ##" items the issue should occur.

Comments (1)
DevExpress Support Team 9 years ago

    Hi Eric,
    I have successfully reproduced the issue and passed this ticket to our developers for further research. Please stay tuned. We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      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.