Ticket T1088679
Visible to All Users

Error E4003 when using dxTagBox in Scheduler appointment form

created 3 years ago

Hi, I get the following error when the appointment form is opening (only for NEW appointments)

Code
2js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242 Uncaught Error: E4003 - Unknown filter operation is used: or. See: http://js.devexpress.com/error/21_2/E4003 at d (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:146317) at Object.Error (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:145833) at js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:184053 at js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:184070 at t.ctor (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:184141) at t.ctor (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:47661) at new t (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:49010) at Object.filter (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:186491) at Object.queryByOptions (js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:234871) at js_devextremebundle.js?v=JBttfTKizqpdh1XMPurI7liifNheO9T-dzfUolX1ejQ:23242:193807

I customize the application form using "onAppointmentContextMenu".

Code
var editorOptions = { dataSource: new DevExpress.data.DataSource({ // paginate: true, pageSize: 50, store: new DevExpress.data.CustomStore({ loadMode: "raw", load: function (loadOptions) { let deferred = $.Deferred(); deferred.resolve(optionenBenutzer); return deferred.promise(); } }) }), searchEnabled: true, displayExpr: "name", searchExpr: ['name', 'nummer'], valueExpr: "id" }; mainGroupItems.push({ label: { text: "Mitarbeiter" }, editorType: "dxTagBox", dataField: "benutzerIdList", editorOptions: editorOptions, });

The field "benutzerIdList" is a array of integers, it is undefined when I create a new appointment.
When I am editing an existing appointment, everything works fine…

Answers approved by DevExpress Support

created 3 years ago

Hi,

Thank you for the code. We included a fix for this issue in our next maintenance update (v21.2.7). Therefore, you can migrate to this new version. Refer to the following help topic to learn more: Migrate To The New Version.

If that doesn't help, could you please share a project or reproduce this issue in our Context Menu Integration demo? This will help us find a solution much faster.

Regards,
Diana

    Comments (1)
    TS TS
    Tobias Schittkowski 3 years ago

      Thank you, updating solved the problem

      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.