Ruslan Dautkhanov created ZEPPELIN-3272: -------------------------------------------
Summary: Upgrade angular-ui/ui-grid Key: ZEPPELIN-3272 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3272 Project: Zeppelin Issue Type: Bug Components: front-end Affects Versions: 0.7.3, 0.8.0 Reporter: Ruslan Dautkhanov As discussed in comments of ZEPPELIN-3238: [~prabhjyotsingh] added a comment - 6 days ago This sounds like an interesting exception, let me explore this {code:java} TypeError: Cannot read property 'options' of undefined at Object.shown (ui-grid.js:19094) at o.t.itemShown (ui-grid.js:2359) at fn (eval at compile (vendor.cfb12f83ec630b56.js:39), <anonymous>:4:218) at o.$digest (vendor.cfb12f83ec630b56.js:38) at o.$apply (vendor.cfb12f83ec630b56.js:38) at HTMLDivElement.<anonymous> (vendor.cfb12f83ec630b56.js:40) at HTMLDivElement.dispatch (vendor.cfb12f83ec630b56.js:30) at HTMLDivElement.q.handle (vendor.cfb12f83ec630b56.js:30){code} According to [https://github.com/angular-ui/ui-grid/issues/6578], this is a known issue in angular-ui/ui-grid 4.0.11. It was resolved in 4.1.0. [~prabhjyotsingh] would be great to consider upgrading Zeppelin to 4.1.0 or really any version after that as they have a lot of other bug-fixes: [https://github.com/angular-ui/ui-grid/blob/master/CHANGELOG.md] : {panel} h3. v4.2.4 (2018-02-07) * *uiGridAutoResize:* Asking for grid $elm sizing in a digest loop always triggers {{refresh}}, not cond h3. v4.2.3 (2018-02-02) * *exporter:* Fix bug where selection column width was included * *importer.js:* Remove unnecessary on destroy event. * *selection.js:* Allow selection in tables that use grouping (#6556) * *ui-grid-header-cell:* Improved styles with grid menu. h3. v4.2.2 (2018-01-17) * *gridEdit:* Fixing scrollToFocus issues. h3. v4.2.1 (2018-01-17) * *GridRenderContainer:* Fixing scrollbar styles. * *gridEdit:* Fixing issues with focus and grid edit. * *importer:* Fix console error on opening grid menu. * *menus:* Switching applyAsync for timeout. h3. v4.2.0 (2018-01-15) * *build:* Fixing build failure due to poor updates. * *cellnav:* Replace $timeout with $applyAsync. * *docs:* Fix broken docs. * *edit:* Replace $timeout with $applyAsync. * *infinite-scroll:* Replace $timeout with $applyAsync. * *lang:* Update Polish translations. * *move-columns:* Replace $timeout with $applyAsync. * *resize-columns:* Replace $timeout with $applyAsync. * *tutorial:* Updating some tutorial examples. h3. v4.1.3 (2017-12-23) * *protractor:* Improving reliability of protractor tests and ensuring they can run at a basic l * *uiGridAutoResize:* Changed [0].clientHeight to gridUtil.elementHe... (#6490) 2]) * *GridRenderContainer.js:* Fix bug of space to the right of the last column (#6371) * *ui-grid.html:* Fix bug with template for last row's bottom border (#4413) h3. v4.1.2 (2017-12-21) * *tutorial:* Replacing .success with .then due to angular upgrade. h3. v4.1.1 (2017-12-20) * *ui-grid.info:* Updating ui-grid.info to support angular 1.6.7 h3. [v4.1.0 (2017-12-18) * *exporter:* ** fix issue #6019 errors while opening grid menu with exporter service ** Excel export with npm instructions, fix error on menu and more examples{panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005)