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

Bug 318268

Summary: cannot test invalid status transitions on Bugzilla 3.6.1
Product: z_Archived Reporter: Charley Wang <charley.wang>
Component: MylynAssignee: Charley Wang <charley.wang>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: eclipse, robert.elves
Version: unspecified   
Target Milestone: 3.5   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 259291, 311966    
Attachments:
Description Flags
Relocate descriptor files
none
mylyn/context/zip none

Description Charley Wang CLA 2010-06-29 00:44:41 EDT
The transition ASSIGNED --> NEW is throwing a CoreException. Putting a try/catch around the submitTask call does not resolve this issue.

It's possible this was caused by a switch to Bugzilla 3.6.1, I am tracking down the issue.
Comment 1 Charley Wang CLA 2010-06-29 01:04:18 EDT
Created attachment 172984 [details]
Relocate descriptor files

The issue was caused by BugzillaFixture which used the Repository info to find a descriptor file. When the test repo was updated to 3.6.1 the descriptor file was no longer found. The proposed patch moves the descriptor files so that there is no longer a dependency on the Bugzilla version.

I retested with these changes on the 3.6.1 custom workflow repository, and the test runs without errors.
Comment 2 Charley Wang CLA 2010-06-29 01:04:19 EDT
Created attachment 172985 [details]
mylyn/context/zip
Comment 3 Frank Becker CLA 2010-07-12 16:47:02 EDT
Charley,

I think we have fixed this with bug#318112.

Please verify!