You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
As of 10.5.0, ngx-datatable triggers an error in zone.js subscribe - but only in a production build.
core.js:1350 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'subscribe' of undefined
TypeError: Cannot read property 'subscribe' of undefined
at Pn (core.js:12014)
at hr (core.js:13448)
at Tr (core.js:13880)
at Pr (core.js:13789)
at hr (core.js:13476)
at Tr (core.js:13880)
at Pr (core.js:13789)
at hr (core.js:13476)
at cr (core.js:13338)
at Object.Mr [as createRootView] (core.js:14025)
at Pn (core.js:12014)
at hr (core.js:13448)
at Tr (core.js:13880)
at Pr (core.js:13789)
at hr (core.js:13476)
at Tr (core.js:13880)
at Pr (core.js:13789)
at hr (core.js:13476)
at cr (core.js:13338)
at Object.Mr [as createRootView] (core.js:14025)
at u (polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1)
at u (polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1)
at polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1
at t.invokeTask (polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1)
at Object.onInvokeTask (core.js:4617)
at t.invokeTask (polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1)
at r.runTask (polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1)
at o (polyfills.76bc5925d9fb9c6d1bc0.bundle.js:1)
at
S @ core.js:1350
This error does not manifest in 10.4.0. It does not manifest when using a regular / debug build.
Expected behavior
I would expect the ngx-datatable component to behave as it does with a development build.
I'm submitting a ...
Current behavior
As of 10.5.0, ngx-datatable triggers an error in zone.js subscribe - but only in a production build.
This error does not manifest in 10.4.0. It does not manifest when using a regular / debug build.
Expected behavior
I would expect the ngx-datatable component to behave as it does with a development build.
Reproduction of the problem
Package versions used:
Run with ng serve --prod, notice the component fails to load with browser console errors.
Alternatively build with ng build --target="production" to see the same issue.
10.4.0 works fine.
Table version: 10.5.0 - 11.0.3
Angular version: 5.0.0
Browser: all
Language: TypeScript 2.4.2
The text was updated successfully, but these errors were encountered: