-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Team Default" selection in drop down box does not return any results even though there is data available. #13
Comments
Hi, |
Neil,
My responses are inline below in green. I should also mention that my machine is running Windows 8.1 Professional x64, and the problem exists with both Chrome and IE 11 web browsers.
Ashok Kumar
|
Neil,
Here’s a quick follow up to your previous email.
“It could be a JavaScript date calculation issue.“
Your comment got me thinking about testing boundaries. Yesterday (when I originally reported this issue) was the END of my previous sprint. Today is the START of a new sprint. I’m not sure that it matters, but sometimes date related bugs occur on beginning or ending dates of a time period (rather than in the middle) depending on whether comparison operators are inclusive or exclusive.
Also, I might have figured out how to get the console output in Chrome. I provided output for both SUCCESS and FAILURE conditions. Screen shots and console output text are attached.
SUCCESS:
When selecting a specific iteration configured for the currently active team, the Team Capacity Extension works as expected as shown below. The Global\2018-06-06_12 iteration is the current sprint which begins today (6/6/2018).
[cid:image001.jpg@01D3FD82.EFAA2F40]
FAILURE:
When selecting “Team Default”, the extension returns no data.
[cid:image005.jpg@01D3FD82.EFAA2F40]
Ashok Kumar
|
I suspect it to be something with date calculations, it would appear that JavaScript default has date and time as part of the date and VSTS has date with 0 hour. Sorry the images did not come through, can you post the text? |
Niel,
Below is the text you requested for the SUCCESS and FAILURE conditions.
SUCCESS:
tfc.team-capacity.team-capacity-management-hub:1 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
index.js:16 Item selected 71a5a1d7-953c-4a95-bd6c-22826546098d
index.js:16 Item selected Global\2018-06-06_12
index.js:16 Loading Current iterations
index.js:16 Iterations loaded, loading capacities
index.js:16 loadCapacities : findTeams
index.js:16 loadCapacities : findTeams : loading 4 requests
ajax.ts:137 GET https://corbitech.visualstudio.com/ebbcfe1d-6fe7-445b-a6c2-1cb6935c7875/33906aa3-40d4-4a56-bffa-c248186c647d/_apis/work/teamsettings/iterations/71a5a1d7-953c-4a95-bd6c-22826546098d 404 ()
XMLHttpRequest.send @ ajax.ts:137
send @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
ajax @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:45
c @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
u.promiseDispatch @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
t @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
index.js:16 loadCapacities : promise returned and limiting from 4 results
index.js:16 Capacities loaded
index.js:16 BuildData: Iterating through details 4
index.js:16 t(t){var n=e.call(this,t)||this;return n._renderElement=function(e,t,o){return i.createElement("div",{className:t},o?o(n.props):e&&i.createElement(a.TooltipHost,{content:e,overflowMode:a.TooltipOverflowMode.Parent,directionalHint:0},e))},n._warnDeprecations property 'primaryText' was used but has been deprecated. Use 'text' instead.
i @ index.js:16
t.warnDeprecations @ index.js:16
t._warnDeprecations @ index.js:16
t @ index.js:16
constructClassInstance @ index.js:29
beginWork @ index.js:29
i @ index.js:29
r @ index.js:29
C @ index.js:29
b @ index.js:29
y @ index.js:29
g @ index.js:29
u @ index.js:29
enqueueSetState @ index.js:29
y.setState @ index.js:37
(anonymous) @ index.js:21
c @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
u.promiseDispatch @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
t @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
FAILURE:
tfc.team-capacity.team-capacity-management-hub:1 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
index.js:16 Item selected
index.js:16 Item selected Team Default
index.js:16 Loading Current iterations
index.js:16 Iterations loaded, loading capacities
index.js:16 loadCapacities : findTeams
index.js:16 loadCapacities : findTeams : loading 4 requests
ajax.ts:137 GET https://corbitech.visualstudio.com/ebbcfe1d-6fe7-445b-a6c2-1cb6935c7875/969924f6-221e-4732-9910-0b1f71723f89/_apis/work/teamsettings/iterations/capacities 400 ()
XMLHttpRequest.send @ ajax.ts:137
send @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
ajax @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:45
c @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
u.promiseDispatch @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
t @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
ajax.ts:137 GET https://corbitech.visualstudio.com/ebbcfe1d-6fe7-445b-a6c2-1cb6935c7875/33906aa3-40d4-4a56-bffa-c248186c647d/_apis/work/teamsettings/iterations/capacities 400 ()
XMLHttpRequest.send @ ajax.ts:137
send @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
ajax @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:45
c @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
u.promiseDispatch @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
t @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
ajax.ts:137 GET https://corbitech.visualstudio.com/ebbcfe1d-6fe7-445b-a6c2-1cb6935c7875/4889da16-1293-498e-9960-57b8eb1279fe/_apis/work/teamsettings/iterations/capacities 400 ()
XMLHttpRequest.send @ ajax.ts:137
send @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
ajax @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:45
c @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
u.promiseDispatch @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
t @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
index.js:16 WorkService.loadTeam.findTeamSettings.findCapacity TFS.WebApi.Exception: 400: error
index.js:16 WorkService.loadTeam.findTeamSettings.findCapacity TFS.WebApi.Exception: 400: error
index.js:16 WorkService.loadTeam.findTeamSettings.findCapacity TFS.WebApi.Exception: 400: error
ajax.ts:137 GET https://corbitech.visualstudio.com/ebbcfe1d-6fe7-445b-a6c2-1cb6935c7875/96c2946c-084f-4069-af98-16f97e92120e/_apis/work/teamsettings/iterations/capacities 400 ()
XMLHttpRequest.send @ ajax.ts:137
send @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
ajax @ Content?bundle=vss-bundle-basejs-vI1IxAQ10AVWwEoAF6E9t0idR3ZSaZnasnpanuPQzGJ0=:15
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:45
c @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
u.promiseDispatch @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
(anonymous) @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
t @ vss-bundle-ext-core-vCSyitXtGU0tNP32tXpUVjdnzVZ0CtYzUPC8kVD8DLUQ=:27
index.js:16 WorkService.loadTeam.findTeamSettings.findCapacity TFS.WebApi.Exception: 400: error
index.js:16 loadCapacities : promise returned and limiting from 4 results
index.js:16 Capacities loaded
index.js:16 BuildData: Iterating through details 4
From: Niel Zeeman <notifications@github.com>
Sent: Thursday, June 7, 2018 12:04 AM
To: NielZeeman/team-capacity-extension <team-capacity-extension@noreply.github.com>
Cc: Ashok Kumar <ashok.kumar@corbitech.com>; Author <author@noreply.github.com>
Subject: Re: [NielZeeman/team-capacity-extension] "Team Default" selection in drop down box does not return any results even though there is data available. (#13)
I suspect it to be something with date calculations, it would appear that JavaScript default has date and time as part of the date and VSTS has date with 0 hour.
Sorry the images did not come through, can you post the text?
This should just give an idea where it is "not finding" things and we can loo at what exactly it does.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#13 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Aimf2u_gRECyo_yVUFTmcP-yqqs_dW8Yks5t6NBKgaJpZM4Ub5oZ>.
|
I installed the Team Capacity extension today, and it seems to work well - with one exception. The "Team Default" selection in the drop-down box returns no results even though there is data available in the system.
For all teams that I've set up in VSTS, I assign @CurrentIteration as the Default Iteration. And I also set up the Iterations for each team.
The extension does return the expected results if I specifically select an Iteration that was set up for the team. For example, the current iteration is as follows:
The text was updated successfully, but these errors were encountered: