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

Compare with Current View Page History

« Previous Version 13 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:

There is a check on the click handler in the NavGridCtrl to look at the isRestricted value and if it's set to 1 it doesn't make the request for the CO

if (!item || item.isRestricted == "1")

Unknown macro: {                return;            }

if (!item || item.isRestricted == "1")

Unknown macro: {                 return; }

The problem is that these items are set to zero not 1 (see below):

  1. data[{objectId:KDOODY-1224768478-001, parentObjectId:my_raft, objectTitle:Can V2.3 Static Test,…},…]
    1. 0{objectId:KDOODY-1224768478-001, parentObjectId:my_raft, objectTitle:Can V2.3 Static Test,…}
      1. hasAlerts"0"
      2. hierarchy"my_raft"
      3. isFavorite"0"
      4. isRestricted"0"
      5. isShared"0"
      6. isleaf"0"
      7. level"1"
      8. objectId"KDOODY-1224768478-001"
      9. objectTitle"Can V2.3 Static Test"
      10. objectType"WORKSET"
      11. parentObjectId"my_raft"
      12. sorting"0"
    2. 1{objectId:C1330102-001, parentObjectId:KDOODY-1224768478-001,…}
      1. hasAlerts"0"
      2. hierarchy"my_raft"
      3. isFavorite"0"
      4. isRestricted"0"
      5. isShared"0"
      6. isleaf"1"
      7. level"2"
      8. objectId"C1330102-001"
      9. objectTitle"C1330102: Other Income Permissions"
      10. objectType"COSTOB"
      11. parentObjectId"KDOODY-1224768478-001"
      12. sorting"1"
    3. 2{objectId:C1330109-001, parentObjectId:KDOODY-1224768478-001, objectTitle:C1330109: Credo Reference,…}
  2. meta{statusCode:0, message:Success, hasData:true}

Issue:  The 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

Status: RESOLVED


  • No labels