You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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: 

  1. TypeError {stack(...)message

    _"Object function (newVal)

    Unknown macro: {↵ // sett… }

    ↵ } has no method 'attr'"_

    }
  2. 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'"

  3. stack(...)
  4. get stack

    function ()

    Unknown macro: { [native code] }
  5. set stack

    function ()

    Unknown macro: { [native code] }
  6. _proto_Error BreadCrumbsCtrl.js:30
    1. can.Control.extend.renderBreadCrumbsCtrl.js:30
    2. can.Control.extend.costobject routeRouterCtrl-4.js:60
    3. checkcan.custom.js:7060
    4. can.dispatchcan.custom.js:272
    5. $.extend.triggercan.custom.js:301
    6. (anonymous function)can.custom.js:1175
    7. can.eachcan.custom.js:56
    8. can.batch.stopcan.custom.js:1174
    9. can.Map.can.Construct.extend._attrscan.custom.js:1717
    10. can.Map.can.Construct.extend.attrcan.custom.js:1465
    11. can.route.attrcan.custom.js:7012
    12. can.Control.extend.changeRouteRouterCtrl-4.js:171
    13. (anonymous function)WorksetCtrl.js:286
    14. Event.notifyslick.core2.js:126
    15. triggerslick.grid7.js:1470
    16. handleClickslick.grid7.js:3016
    17. jQuery.event.dispatchjquery-1.10.2.js:5096
    18. $event.dispatchjquery.event.drag-2.2.js:374
    19. elemData.handle

Status:  I'm tracking this one

  • No labels