Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358682

Summary: target milestone no longer appears when creating a bug
Product: z_Archived Reporter: Randall Becker <rsbecker>
Component: MylynAssignee: Frank Becker <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 3.8   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip
none
mylyn/context/zip none

Description Randall Becker CLA 2011-09-22 22:59:17 EDT
Build Identifier: 3.6.2 M20110210-1200

Mylyn 3.4 would provide a field for selecting a target milestone. This capability has disappeared in 3.6.1. The Target Milestone does appear in the Attribute Composite after the task has been added and contains the expected values, but we're used to being able to specifying milestones when the task is created. Our Bugzilla version is 3.6

Reproducible: Always

Steps to Reproduce:
1. Define products with milestones in Bugzilla 3.6
2. Select New Task from Mylyn 3.6.1
3. New Task editor will show custom fields but will not show Target Milestone
Comment 1 Steffen Pingel CLA 2011-09-23 04:23:54 EDT
Can you check if "Target milestone" is selected on the properties page of the task repository under Additional settings? It should be unchecked.

Do you know when the field disappeared for you (e.g. a Mylyn update)?
Comment 2 Randall Becker CLA 2011-09-23 07:20:32 EDT
The Target Milestone was present at Mylyn 3.4 and disappeared (yesterday) when upgrading to Mylyn 3.6.1. The repository setting for Target Milestone (in Task Repository) was disabled after the upgrade. I enabled it, but that made no difference to the condition in the New Task editor - Target Milestone still missing.
Comment 3 Steffen Pingel CLA 2011-09-23 07:28:49 EDT
The Target Milestone field needs to be deselected in the settings otherwise it is hidden. Can you try unchecking it again?

Frank, we need to test this migration path to ensure that the setting is properly handled.
Comment 4 Randall Becker CLA 2011-09-23 07:32:36 EDT
Steffen: Unchecking "Target Milestone" in the Task Repository properties after checking it bought the Target Milestone field back.
Comment 5 Frank Becker CLA 2012-03-09 13:37:38 EST
Steffen,

what can we do for 3.8?

I can not reproduce this.

This is an workaround.

(In reply to comment #4)
> Steffen: Unchecking "Target Milestone" in the Task Repository properties after
> checking it bought the Target Milestone field back.
Comment 6 Frank Becker CLA 2012-03-25 12:41:50 EDT
Create review http://review.mylyn.org/496
Comment 7 Frank Becker CLA 2012-03-25 12:41:53 EDT
Created attachment 213145 [details]
mylyn/context/zip
Comment 8 Frank Becker CLA 2012-05-12 09:18:10 EDT
Review is now here: https://git.eclipse.org/r/5959
Comment 9 Frank Becker CLA 2012-05-14 14:50:21 EDT
Steffen,

I create an new review based on the comments from http://review.mylyn.org/496
Comment 10 Frank Becker CLA 2012-05-14 14:50:35 EDT
Created attachment 215594 [details]
mylyn/context/zip
Comment 11 Steffen Pingel CLA 2012-05-23 06:35:42 EDT
The review is now here: https://git.eclipse.org/r/#change,5959.
Comment 12 Frank Becker CLA 2012-05-23 14:21:23 EDT
Now we have Patch Set 3 in  https://git.eclipse.org/r/#change,5959.

Please review!
Comment 13 Steffen Pingel CLA 2012-05-23 17:39:46 EDT
Thanks. I have pushed a rebase change. Feel free to submit if tests pass.
Comment 14 Frank Becker CLA 2012-05-24 14:59:06 EDT
Patch Set 4 from the review is now commited to head