angular: new eg-grid lacks persist key to save column settings

Bug #1828580 reported by Andrea Neiman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Invalid
Undecided
Unassigned

Bug Description

Master-ish (3.3+)

The new Angular version of eg-grid does not save column settings.

Console:

VM332 GridToolbarComponent.ngfactory.js:333 ERROR Error: Grid persistKey required to save columns
    at GridContext.push../src/app/share/grid/grid.ts.GridContext.saveGridConfig (VM312 default~eg-staff-admin-acq-admin-acq-module~eg-staff-admin-booking-admin-booking-module~eg-staff-adm~3268a68b.js:5070)
    at GridToolbarComponent.push../src/app/share/grid/grid-toolbar.component.ts.GridToolbarComponent.saveGridConfig (VM312 default~eg-staff-admin-acq-admin-acq-module~eg-staff-admin-booking-admin-booking-module~eg-staff-adm~3268a68b.js:3884)
    at Object.eval [as handleEvent] (VM332 GridToolbarComponent.ngfactory.js:338)
    at handleEvent (VM224 vendor.js:56754)
    at callWithDebugContext (VM224 vendor.js:57824)
    at Object.debugHandleEvent [as handleEvent] (VM224 vendor.js:57551)
    at dispatchEvent (VM224 vendor.js:54203)
    at VM224 vendor.js:54650
    at HTMLAnchorElement.<anonymous> (VM224 vendor.js:66513)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (VM222 polyfills.js:4920)
View_GridToolbarComponent_0 @ VM332 GridToolbarComponent.ngfactory.js:333
proxyClass @ VM224 vendor.js:24522
push../node_modules/@angular/core/fesm5/core.js.DebugContext_.logError @ VM224 vendor.js:57786
push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ VM224 vendor.js:49507
dispatchEvent @ VM224 vendor.js:54207
(anonymous) @ VM224 vendor.js:54650
(anonymous) @ VM224 vendor.js:66513
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ VM222 polyfills.js:4920
onInvokeTask @ VM224 vendor.js:51025
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ VM222 polyfills.js:4919
push../node_modules/zone.js/dist/zone.js.Zone.runTask @ VM222 polyfills.js:4692
push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ VM222 polyfills.js:4995
invokeTask @ VM222 polyfills.js:6241
globalZoneAwareCallback @ VM222 polyfills.js:6267
09:50:44.637 VM332 GridToolbarComponent.ngfactory.js:333 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 71, nodeDef: {…}, elDef: {…}, elView: {…}}

Andrea Neiman (aneiman)
tags: added: angular eg-grid silentfailure
removed: silen
Revision history for this message
Bill Erickson (berick) wrote :

Andrea, which interface is this? The grid in question probably just needs a persistKey="eg.foo.bar" attribute.

Revision history for this message
Andrea Neiman (aneiman) wrote :

Oops -- misunderstanding on my part as to what the desired LP was. Marking this invalid & will file the actual issue in a new (wishlist) bug.

Changed in evergreen:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.