Issue: In current Navgrid, Users can click on COs that they do not have access to. The app errors out (spinny stays spinning and breadcrumbs doesn't render)
Options:
- Wait for data fix that will return them correctly - Is Amon fixing this in this release?
- Handle the error and make spinny stop and replace with message
- Both.
Status:
Issue: This first time you click on a CO link (in NavGrid or in table) an error is thrown from the BreadCrumbsCtrl. After first error, it works fine
Error:
- TypeError {stack: (...), message: }
_"Object function (newVal)
Unknown macro: {↵ // sett… }↵ } has no method 'attr'"_
- message:
"Object function (newVal) {↵ // setting ...↵ if (arguments.length) {↵ // save a reference to the old value↵ var old = value;↵↵ // setter may return a value if ↵ // setter is for a value maintained exclusively by this compute↵ var setVal = set.call(context, newVal, old);↵↵ // if this has dependencies return the current value↵ if (computed.hasDependencies)
Unknown macro: {↵ return get.call(context);↵ }↵↵ if (setVal === undefined)
Unknown macro: {↵ // it's possible, like with the DOM, setting does not↵ // fire a change event, so we must read↵ value = get.call(context);↵ }else
Unknown macro: {↵ value = setVal;↵ }↵ // fire the change↵ if (old !== value)
Unknown macro: {↵ can.batch.trigger(computed, "change", [value, old]);↵ }↵ return value;↵ } else {↵ // Another compute wants to bind to this compute↵ if (can.__reading && canReadForChangeEvent)
Unknown macro: {↵ // Tell the compute to listen to change on this computed↵ can.__reading(computed, 'change');↵ // We are going to bind on this compute.↵ // If we are not bound, we should bind so that↵ // we don't have to re-read to get the value of this compute.↵ !computeState.bound && can.compute.temporarilyBind(computed)↵ }↵ // if we are bound, use the cached value↵ if (computeState.bound)
Unknown macro: {↵ return value;↵ }else
↵ }↵ } has no method 'attr'"
- stack: (...)
- get stack:
function ()
Unknown macro: { [native code] } - set stack:
function ()
Unknown macro: { [native code] } - _proto_: Error BreadCrumbsCtrl.js:30
- can.Control.extend.renderBreadCrumbsCtrl.js:30
- can.Control.extend.costobject routeRouterCtrl-4.js:60
- checkcan.custom.js:7060
- can.dispatchcan.custom.js:272
- $.extend.triggercan.custom.js:301
- (anonymous function)can.custom.js:1175
- can.eachcan.custom.js:56
- can.batch.stopcan.custom.js:1174
- can.Map.can.Construct.extend._attrscan.custom.js:1717
- can.Map.can.Construct.extend.attrcan.custom.js:1465
- can.route.attrcan.custom.js:7012
- can.Control.extend.changeRouteRouterCtrl-4.js:171
- (anonymous function)WorksetCtrl.js:286
- Event.notifyslick.core2.js:126
- triggerslick.grid7.js:1470
- handleClickslick.grid7.js:3016
- jQuery.event.dispatchjquery-1.10.2.js:5096
- $event.dispatchjquery.event.drag-2.2.js:374
- elemData.handle
Status: I'm tracking this one