Bug Report T304921
Visible to All Users

Throwing an empty server-side exception results in raising a client-side "TypeError: resultObj is undefined" error

created 9 years ago

In the most common scenario, a control can handle server-side exceptions. For example, the MVC Scheduler control renders an exception's message in its markup.
The MVC GridView control displays the exception's message in the "alert" window.
However, when the exception contains an empty message, a client-side "TypeError: resultObj is undefined" error is raised and a current callback request can't be completed.
In the attachment, you can find a sample project and a video which illustrates how to reproduce the issue.

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.

    Show previous comments (1)
    DevExpress Support Team 9 years ago

      Hello Gavin,
      When an intermediate build that contains a hotfix for this issue is prepared, the "Hotfix requested" link will be changed to "Download hotfix" and a corresponding notification will be sent to all the trackers of this thread.
      I see that this ticket is not in your favorites. I suggest you click the "Add to Favorites" button on this ticket page to get notifications of any changes related to this ticket.
      Correspondingly, once the mentioned build is prepared for download, you need to download it, install and update your application.
      See also:
      How to request a hotfix
      I hope you will find this information helpful.

        Thanks Oleg.  How long will it take to prepare the hotfix?

        DevExpress Support Team 9 years ago

          You are welcome, Gavin!
          If everything goes according to plan, an intermediate build which contains a hotfix for this issue will be prepared within a couple of days.
          We will update the status of this ticket once this build is prepared for downloading.

          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.