Bug Report T505799
Visible to All Users

The "Cannot change property 'DefaultSorting' when the XPCollection is not in design or initialization mode." error occurs in MainDemo

created 8 years ago

Hello there!

Error "Cannot change property 'DefaultSorting' when the XPCollection is not in design or initialization mode." occurs in MainDemo.

Steps to reproduce.

  1. Open MainDemo solution in Visual Studio.
  2. Open Model Editor for MainDemo.Win project.
  3. Set DataAccessMode to "Server".
  4. Run the application.
  5. Open Contact View.
  6. Click on the "Reset View Settings" action.

Thank you.
Best regards,
Nikolay.

Comments (2)
DevExpress Support Team 8 years ago

    Hello Nikolay,

    Thank you for the detailed description. I have managed to reproduce this error. Please give us additional time to research it. We will get back to you as soon as possible.

    Aleksei M. (DevExpress) 8 years ago

      Hello Nikolay,

      The described behavior looks like a bug. We will do our best to find the cause of the problem as soon as possible. Please add this thread to your Favorites to be automatically notified of our progress.

      Answers approved by DevExpress Support

      created 8 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.

        Comments (2)
        MB MB
        Mario Blatarić 5 years ago

          Hi,

          I am experiencing this error in XAF Blazor project (20.1.4 - intermediate build). Not sure if it is a known issue and should I open separate ticket.
          Same thing, I set data access to Server and I get this error when I try to open DetailView.

          Regards,
          Mario

          DevExpress Support Team 5 years ago

            Hello Mario,

            I've created a separate ticket on your behalf (T914021: The "Cannot change property 'DefaultSorting' when the XPCollection is not in design or initialization mode." error occurs in an XAF Blazor project). It has been placed in our processing queue and will be answered shortly.

            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.