Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid breaks server-side rendering #5804

Closed
zdrawku opened this issue Sep 16, 2019 · 0 comments · Fixed by #6022
Closed

Grid breaks server-side rendering #5804

zdrawku opened this issue Sep 16, 2019 · 0 comments · Fixed by #6022
Assignees
Labels
🐛 bug Any issue that describes a bug 🔥 severity: high grid: general version: 8.1.7 ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@zdrawku
Copy link
Contributor

zdrawku commented Sep 16, 2019

Description

I tried to build an app that uses the Grid, and the build failed.

  • igniteui-angular version: 8.1.7
  • browser: any

Steps to reproduce

  1. Create a default cli project with grid
  2. Configure SSR with Angular Universal and build

Result

Build fails

Expected result

Build should pass

Attachments

TypeError: Cannot read property 'forEach' of undefined at igniteui_angular_IgxGridComponent.ngOnDestroy (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:49410:25) at callProviderLifecycles (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:141864:18) at callElementProvidersLifecycles (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:141823:13) at callLifecycleHooksChildrenFirst (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:141805:29) at destroyView (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:152255:5) at callViewAction (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:152414:13) at execComponentViewsAction (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:152322:13) at destroyView (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:152254:5) at callViewAction (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:152414:13) at execComponentViewsAction (D:\Angular samples\ignite-angular-ssr\dist\server\main.js:152322:13)

@zdrawku zdrawku self-assigned this Sep 16, 2019
@zdrawku zdrawku added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Oct 21, 2019
@zdrawku zdrawku added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Any issue that describes a bug 🔥 severity: high grid: general version: 8.1.7 ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants