Ticket T885047
Visible to All Users

Questions on InfiniteRecursionException (B181657)

created 5 years ago (modified 5 years ago)

[DevExpress Support Team: CLONED FROM B181657: Layout - Troubleshooting the "Error creating window handle" or "Infinite recursion detected: the 'XXX' view was created 51 times" errors]

Starting with v16.1, there will be InfiniteRecursionException from XAF when such an error configuration is detected at runtime.

Please prohibit saving the layout when this error occurs.

Show previous comments (5)
W W
Willem de Vries 5 years ago

    In this case it was not the moment a user switched to ListViewAndDetailView, but when he added in the detailview (Customize layout) a collection of the same kind of objects, with also a listview that already was in ListViewAndDetailView mode.

    Andrey K (DevExpress Support) 5 years ago

      Thank you for the confirmation!

      Andrey

      Andrey K (DevExpress Support) 5 years ago

        Hello,

        We will introduce a mechanism to prevent saving a layout that was broken because of infinite master-detail list views: T887270 - WinForms - Adding a list view in the master-detail mode breaks a layout in some circumstances.
        Please add this thread to your favorites to be notified of our progress.

        Thanks,
        Andrey

        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.