Comments (6)
First of all thanks: you are a brave beta tester!
Honestly I have not tested the Board scenario, but I suggest considering reentrancy: after you touch the work item and the plugin saves it, TFS will trigger another change notification that reenters the plugin for the same work item.
from tfsaggregator.
Thanks for the response, hope you had a good weekend.
I wanted to follow up with more information after additional testing and see if you could offer any further advice. I was able to find a pattern--this occurs any time I operate on the user story via TFSAggregator using C# scripting. I do see the re-entrancy that you mentioned which I understand, based on some comments in other forums, is intentional. I have handled that problem by setting a 'last modified' field and checking in an IF so that when I make a change it will not process more than once. The problem I am seeing is that even when I do nothing during that second operation it appears that TFS gets into some state where the next transition will always fail. It turns out, this isn't just a Kanban issue, but happens if I manually transition via the form as well.
I will post my slightly modified code and a video of the interaction as well. In the code snapshot below I have highlighted the two debug outputs that you'll see in the trace window.
In this video you'll see me transition to a state that does not run the C# aggregation code (falls through to the else), then transition to the state that runs the main body of the code and you'll see in the debug that the first run works fine and the second (reentry) falls through to the else. Then, the third transition just silently fails. No debug output, no errors on the screen, just flat rejected.
https://www.youtube.com/watch?v=MEm5f8Lc9pM
Any insight you can give on what might be cause the issue would be of great help!
from tfsaggregator.
This may be related to the fact that the web ui doesn't expect the
underlying work item to be changed.
TFS 2015 will make the front-end aware of backend changes through signalR
I've heard, which would solve this issue. I don't think there is anything
you can do to prevent this, other than reloading the screen after a change
if you intend to update the same WorkItem multiple times.
On Jun 15, 2015 4:30 PM, "shaneedwards" [email protected] wrote:
Thanks for the response, hope you had a good weekend.
I wanted to follow up with more information after additional testing and
see if you could offer any further advice. I was able to find a
pattern--this occurs any time I operate on the user story via
TFSAggregator. I do see the reentrancy that you mentioned which, based on
some comments in other forums is intentional. I have handled that problem
by setting a 'last modified' field and checking in an IF so that when I
make a change it will not process more than once. The problem I am seeing
is that even when I do nothing it appears that TFS gets into some state
where the next transition will always fail. It turns out, this isn't just a
Kanban issue, but happens if I manually transition as well.I will post my slightly modified code and a video of the interaction as
well. In the code snapshot below I have highlighted the two debug outputs
that you'll see in the trace window.[image: 2015-06-15_09-24-08]
https://cloud.githubusercontent.com/assets/7059852/8162042/80de38a6-1340-11e5-8a0f-c22849b8c19a.pngIn this video you'll see me transition to a state that does not run the C#
aggregation code (falls through to the else), then transition to the state
that runs the code and you'll see in the debug that the first run works
fine and the second (reentry) falls through to the else. Then, the third
transition just silently fails. No debug output, no errors on the screen,
just flat rejected.https://www.youtube.com/watch?v=MEm5f8Lc9pM
Any insight you can give on what might be cause the issue would be of
great help!—
Reply to this email directly or view it on GitHub
#36 (comment)
.
from tfsaggregator.
Ahhh, that makes sense. Explains why I wasn't finding an error in the back end or in JavaScript. It isn't an error, just the UI getting out of sync. Not to belabor the point, but is there a way to fire off a reload event on the front-end from TFSAggregator?
from tfsaggregator.
Unfortunately not. That will only happen with the signalR support.
On Jun 15, 2015 7:43 PM, "Shane Edwards" [email protected] wrote:
Ahhh, that makes sense. Explains why I wasn't finding an error in the back
end or in JavaScript. It isn't an error, just the UI getting out of sync.
Not to belabor the point, but is there a way to fire off a reload event on
the front-end from TFSAggregator?—
Reply to this email directly or view it on GitHub
#36 (comment)
.
from tfsaggregator.
Thank you for the assistance. I'll be waiting patiently for 2015!
from tfsaggregator.
Related Issues (20)
- Move task from one parent to another and fix rollup hours on previous parent HOT 6
- Iteration id and path on some date HOT 1
- Condition that enforces separation of duties HOT 1
- Error when calling the tool HOT 4
- Error while using TFSAggregator2.ConsoleApp with DevOps Server 2020 HOT 3
- Not automatically processing rules HOT 1
- Timeline for 2.6 HOT 4
- Not processing rules HOT 9
- Generaton of duplicities HOT 3
- Aggregator 2 HTTP 500 when using impersonation HOT 3
- Release for DevOps Server 2020.1 RTW HOT 2
- TfsAggregator 2 - use TransitionToState change the Assigned To field also HOT 7
- Auto generate tasks creation failing when customized tag is added for work items using TFS aggregator plugin HOT 3
- my transitionToState function spams HOT 6
- multiple selection checkbox HOT 1
- No aggregator instances found. HOT 1
- Migration guide HOT 5
- TFSaggregator is not working after upgrading TFS2018 to azuredevops 2020. kindly help , i have uninstall and install TFS aggregator HOT 12
- XML configuration arrays can contain leading spaces
- security update HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfsaggregator.