microsoft / vsts-extension-retrospectives

An Azure DevOps extension for efficient retrospectives
MIT License
180 stars 80 forks source link

Retrospectives History: expand retrospective throws error in application #457

Open kw80 opened 1 year ago

kw80 commented 1 year ago

Using latest Restrospectives extension 1.80.13

Go to Boards > Retrospectives > Tab History 1 Expand retrospective with a few work items = OK Expand retrospective with +50 work items = ERROR 2

Network logging in web developer tools shows the number of items including is cut off at 29 whereas it's +50 items: POST https://dc.services.visualstudio.com/v2/track Payload [ {time: "2022-09-26T12:36:57.148Z", iKey: "128148",…},…] 0: {time: "2022-09-26T12:36:57.148Z", iKey: "128148",…} 1: {time: "2022-09-26T12:36:57.160Z", iKey: "128***148",…}

Preview: appId: "379***6d5" errors: [] itemsAccepted: 29 itemsReceived: 29

When expanding a smaller retrospective with a few work items, you do not hit this limit: {itemsReceived: 15, itemsAccepted: 15, errors: [], appId: "3796d5"} appId: "3796d5" errors: [] itemsAccepted: 15 itemsReceived: 15

Tested using multiple browsers (Edge, Chrome) + cleared all history data from the browser first. All users experience this behaviour on separate workstations.

Further network logging: console.error: TypeError: Cannot read properties of undefined (reading 'displayName')","hasFullStack":true,"stack":"TypeError: Cannot read properties of undefined (reading 'displayName') at https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-retrospectives/1.80.13/166***768/dist/reflect-bundle.js:2:1390028 at Array.forEach () at o.buildActionItemsList (https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-retrospectives/1.80.13/166***768/dist/reflect-bundle.js:2:1389754

mindlessroman commented 1 year ago

Great catch! Thank you for the find and for the details.