Code Review behavior when gaps are involved
![]()
Daniel Franke (11●2●4)
| asked Sep 14 '16, 7:28 a.m.
retagged Oct 06 '17, 4:02 p.m. by Ken Tessier (841●1●7) Hi,
In the relevant stream s1, component x, the history view for the example.java shows 10 changes (change sets): cs10 - id 500cs09 - id 512 cs08 - id 511 cs07 - id 513 cs06 - id 500 cs05 - id 500 cs04 - id 490 cs03 - id 494 cs02 - id 500 cs01 - id 494 The error message disappears when all the change sets are linked to WI id 500. And the complete Review section under the approval tab disappears.
Is there any reason for it why this is not working when the file has been changed in change sets with other work items? When I try the same with another task which has also not all change sets linked to it - it is showing: Change Sets(Contains Gap) - But it is still working, there is no such error.
Thanks for any hints or advice.
|
Accepted answer
![]()
David Lafreniere (4.8k●7)
| answered Oct 05 '17, 12:07 p.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Oct 05 '17, 12:08 p.m. I believe this is the behavior you would see in RTC 6.0.1.
Michael Valenta selected this answer as the correct answer
|
One other answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Sep 15 '16, 2:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I have never seen that error, but just from reading the message:
Diffs for the following files cannot be shown because they were modified in change set(s) that are not associated with this work item. Check to see if you have change sets that should be associated with this work item. example.java The error is not that there are change sets not associated to the work item, the error is that there are change sets missing that are needed to compute the diff for the specific file, as far as I can tell. So the file is changed in some other change set that is not associated to this work item and this is a gap and prevents creating/showing the diff. Comments Hello Ralph,
Then I don't know and would suggest to create a defect with support.
|