Bug Report T1174702
Visible to All Users

Web Document Viewer - Multiple client-side issues occur in the React + Vite integration

created 2 years ago (modified 2 years ago)

Reporting — Create a Vite-Powered Web App

Code
exportOptionsModel.js:111 Uncaught (in promise) TypeError: Unable to process binding "if: function() { return $context.$data.addOns; }" Message: Unable to process binding "foreach: function() { return $context.$data.addOns; }" Message: Unable to process binding "template: function() { return { "name": $context.$data.templateName, "data": $context.$data.model }; }" Message: Unable to process binding "foreach: function() { return $context.$data.parts; }" Message: Unable to process binding "template: function() { return { "name": $context.$data.templateName, "data": $context.$data.model }; }" Message: Unable to process binding "template: function() { return { "name": "dxrd-toolbar-tmplt", "data": $context.$data.actionLists.toolbarItems }; }" Message: Unable to process binding "foreach: function() { return $context.$data; }" Message: Unable to process binding "if: function() { return $context.$data.templateName; }" Message: Unable to process binding "template: function() { return { "name": $context.$data.templateName, "data": $context.$data.contentData || $context.$data }; }" Message: Unable to process binding "dxMenu: function() { return { "wrapperAttr": { "class": "dxrd-preview-export-to dxd-button-back-color dxd-state-normal dxd-icon-highlighted" }, "disabled": $context.$data.disabled(), "items": $context.$data.items, "cssClass": "dxrdp-export-to-menu", "onItemClick": $context.$data.clickAction, "onSubmenuShowing": $context.$data.eventHandlers.onSubmenuShowing($context.$root.getPopupContainer($element), $element), "onSubmenuShown": $context.$data.eventHandlers.onSubmenuShown, "onSubmenuHiding": $context.$data.eventHandlers.onSubmenuHiding, "onItemRendered": $context.$data.eventHandlers.onItemRendered, "tabIndex": "-1" }; }" Message: $213 is not a function at Object.onItemRendered (exportOptionsModel.js:111:9) at Object.execute (action.js:141:37) at Action._executeAction (action.js:88:122) at Action.execute (action.js:56:27) at Menu.<anonymous> (component.js:241:35) at result (component.js:280:38) at Menu._executeItemRenderAction (ui.collection_widget.base.js:808:35) at ui.collection_widget.base.js:736:18 at _promise.<computed> [as done] (deferred.js:46:25) at Menu._renderItem (ui.collection_widget.base.js:729:36)

Answers approved by DevExpress Support

created 2 years ago

We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

Important Notes:

  • Hotfixes may be unavailable for Early Access/Beta builds or updates set for release within a week.
  • .NET only: in the NuGet Package Manager, use your personal NuGet feed and check the "Include prerelease" option to view the hotfix package in the "Updates" tab.
    Comments (2)

      Hello, and thanks for the quick response regarding a hotfix. However i have a problem when installing it. I have a license for Report and Dashboard server, but get the following error:

      Yaroslav (DevExpress Support) 2 years ago

        Hi Christer,

        Are you sure that you have posted this comment under the right ticket? I ask this question as Report and Dashboard Server does not use React internally so I don't understand how it's affected by this particular issue. I also assume that you're using the "Unified Installer" for our .NET components and not the RDS installer which we ship separately (hence the license error).

        Let me know if I'm missing anything here.

        Regards,
        Yaroslav

        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.