Hi,
Until yesterday everything works fine, but today I'm getting this error when we try to apply filters on the grids.
ej2.min.js:10 Uncaught TypeError: this.parent.dataSource.adaptor.getModuleName is not a function
at e.updateModel (ej2.min.js:10:8461647)
at e.filterByColumn (ej2.min.js:10:8469062)
at e.read (ej2.min.js:10:8441398)
at e.filterBtnClick (ej2.min.js:10:8452285)
Unfortunately I was using https://cdn.syncfusion.com/ej2/dist/ej2.min.js, so I lost the previous version of this script (which works fine until last night)
Hello, I'm facing the same problem.
The issue is that the error appears only in ej2 version 19.4.42, version 19.4.41 works as expected.
Sujith R I tried, but couldn't reproduce the error in your sample in stackblitz, I think it's mainly because my project makes use of ejs.data.UrlAdaptor, the configuration is something like:
dataSource: new ejs.data.DataManager({
url: '/api/DividaAtivaGridData',
adapter: new ejs.data.UrlAdaptor(),
})
Do you think it's possible to create a sample in stackblitz with a UrlAdaptor?
If you can, I could do some testing and see if I can come up with a configuration that reproduces the problem.
Thanks.
Jaime you can get any ej2 released version with this url: https://cdn.syncfusion.com/ej2/{version}/dist/ej2.min.js
Change {version} to the desired version, for example in my case:
https://cdn.syncfusion.com/ej2/19.4.41/dist/ej2.min.js > OK
https://cdn.syncfusion.com/ej2/19.4.42/dist/ej2.min.js > FILTER ERROR
Do you also use UrlAdaptor in your settings?
Yes, I use UrlAdaptor in all my grids.
I changed the script url to a previous version, in my case a test with 19.4.38, and works perfect. If I try to use https://cdn.syncfusion.com/ej2/dist/ej2.min.js I got the issue, so I presume the problem is in the latest version of this script.
Hi Pavithra Subramaniyam, thanks for the commitment.
Could I also have access to the feedback link?
It's okay if it's not possible.
Version 19.4.47 released today seems to fix the problem, thank you very much.
Thank you,
So far is working for me.