Hi,
After updating to 17.1.41 I'm getting the following error while rendering a grid or scheduler
Uncaught TypeError: Cannot read property 'indexOf' of undefined
at ODataV4Adaptor.UrlAdaptor.processQuery (adaptors.js?0f5f:462)
at DataManager.executeLocal (manager.js?bf79:116)
at eval (manager.js?bf79:164)
I'haven't changed anything from previous version that worked correctly.
The grid is defined like:
<ejs-grid ref="grid" :dataSource="data"
:allowResizing='true' :allowPaging='true' :allowSorting='true' :allowFiltering='true' :allowReordering='true' :allowExcelExport="true"
:toolbar='toolbarOptions' :toolbarClick='toolbarClick'
@rowSelected="onSelected"
@recordDoubleClick="onDblClick">
<e-columns>
<e-column field='userName' headerText='Usuario' ></e-column>
<e-column field='name' headerText='Nombre' width=200></e-column>
<e-column field='email' headerText='E-Mail' width=100></e-column>
<e-column field='department' headerText='Prioridad' width=100></e-column>
</e-columns>
</ejs-grid>
and the dataSource:
data: new DataManager({
url: "/odata/users",
headers: [{ Authorization: this.$axios.defaults.headers.common['Authorization'] }],
adaptor: new ODataV4Adaptor()
}),
For your information I'm using various ej2 controls initialized like this:
import Vue from 'vue'
import { GridPlugin } from '@syncfusion/ej2-vue-grids'
import { GanttPlugin } from "@syncfusion/ej2-vue-gantt"
import { SchedulePlugin } from "@syncfusion/ej2-vue-schedule"
import { UploaderPlugin } from '@syncfusion/ej2-vue-inputs'
import { TreeGridPlugin } from '@syncfusion/ej2-vue-treegrid'
import { loadCldr, setCulture, setCurrencyCode, L10n } from '@syncfusion/ej2-base'
import numbers from 'cldr-data/main/es/numbers.json'
import calendars from 'cldr-data/main/es/ca-gregorian.json'
import timeZoneNames from 'cldr-data/main/es/timeZoneNames.json'
import currencies from 'cldr-data/main/es/currencies.json'
import esLocaleTexts from '@syncfusion/ej2-locale/src/es.json'
Vue.use(GridPlugin)
Vue.use(GanttPlugin)
Vue.use(SchedulePlugin)
Vue.use(UploaderPlugin)
Vue.use(TreeGridPlugin)
loadCldr(
numbers,
calendars,
timeZoneNames,
currencies
)
setCulture('es')
setCurrencyCode("EUR")
L10n.load(esLocaleTexts)
Thanks
Jaume