Bug 415278

Summary: change id not shown correctly in task list (shows [mylyn%2Fo] instead)
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: 2.0.1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 395059    
Attachments:
Description Flags
task list
none
mylyn/context/zip none

Description Steffen Pingel CLA 2013-08-17 05:29:14 EDT
When reviews on Gerrit 2.6 (Eclipse.org) are synchronized the change ID in the task list isn't always shown correctly (see screenshot). If I explicitly synchronize a task that shows [mylyn%2Fo] it shows the expected summary.
Comment 1 Steffen Pingel CLA 2013-08-17 05:31:25 EDT
Created attachment 234508 [details]
task list

I suspect this is related to updating from full vs. partial task data.
Comment 2 Tomasz Zarna CLA 2013-08-19 12:12:49 EDT
(In reply to comment #1)
> I suspect this is related to updating from full vs. partial task data.

Yup, and to the fact that in Gerrit 2.6 the "id" field changed to the "project~branch~change_id" triplet.

Review: https://git.eclipse.org/r/15613
Comment 3 Tomasz Zarna CLA 2013-08-20 04:58:36 EDT
Fixed in fc24302e7c9fdf05d233f36e55a7bb9e2093df10
Comment 4 Tomasz Zarna CLA 2013-08-20 04:58:47 EDT
Created attachment 234564 [details]
mylyn/context/zip
Comment 5 Miles Parker CLA 2013-08-21 13:55:07 EDT
Wait...are we *sure* this is an inocous change for pre-2.6 data? This is what is useed to look up existing model reivew data as well. I'm concerned about regressions here..
Comment 6 Tomasz Zarna CLA 2013-08-22 10:22:24 EDT
The "project~branch~change_id" triplet has been introduced in 2.6 and '~' is not allowed as part of a SHA1, so the check from https://git.eclipse.org/r/#/c/15613/2/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/GerritTaskDataHandler.java should only affect 2.6+ changeIds. I think the change is safe.