Bug 252297 - Bugzilla 3.2 Changing the Status of a bug does not really change it.
Summary: Bugzilla 3.2 Changing the Status of a bug does not really change it.
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: 3.1   Edit
Assignee: Frank Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, noteworthy
: 259421 (view as bug list)
Depends on: 254695
Blocks: 246260
  Show dependency tree
 
Reported: 2008-10-27 22:55 EDT by Jim Donelson CLA
Modified: 2009-01-06 21:49 EST (History)
4 users (show)

See Also:


Attachments
patch (9.34 KB, patch)
2008-11-02 16:42 EST, Frank Becker CLA
no flags Details | Diff
mylyn/context/zip (4.21 KB, application/octet-stream)
2008-11-02 16:42 EST, Frank Becker CLA
no flags Details
patch with junit (21.60 KB, patch)
2008-11-06 16:02 EST, Frank Becker CLA
no flags Details | Diff
mylyn/context/zip (4.11 KB, application/octet-stream)
2008-11-06 16:02 EST, Frank Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Donelson CLA 2008-10-27 22:55:12 EDT
Build ID:  M20080911-1700 Current Mylyn release.

Steps To Reproduce:
1. Change the status of a bug
2. Click submit
3. The status does not change, and the old status is displayed.


More information:
Comment 1 Frank Becker CLA 2008-11-02 16:42:15 EST
Created attachment 116735 [details]
patch

Bugzilla 3.2 is the first Version that use a new way to set the status.

This patch has only a fix for the old workflow. I think we need some more information (Bug Status Workflow) in the config to come up with a better way to support the new workflow.
Comment 2 Frank Becker CLA 2008-11-02 16:42:19 EST
Created attachment 116736 [details]
mylyn/context/zip
Comment 3 Robert Elves CLA 2008-11-03 13:52:04 EST
Okay thanks for looking into this Frank.  Could you put together a unit test for this that state changes works for both 3.2 and earlier version (i.e. 2.22)?

Regarding further improvements, I'll have to look into the new workflow in 3.2 and see what can be done. 
Comment 4 Frank Becker CLA 2008-11-03 14:19:16 EST
(In reply to comment #3)
> Okay thanks for looking into this Frank.  Could you put together a unit test
> for this that state changes works for both 3.2 and earlier version (i.e. 2.22)?
Can you point me to a junit test where a new task is created. If I have this I can create a junit that set all states .
> 
> Regarding further improvements, I'll have to look into the new workflow in 3.2
> and see what can be done. 
I think we need an enhancement for get the information from /editworkflow.cgi in the /config.cgi?ctype=rdf before we can support this in Mylyn.
Comment 5 Frank Becker CLA 2008-11-06 16:02:44 EST
Created attachment 117258 [details]
patch with junit

now a junit test for version 2.22 and 3.2 is included (request from Comment #3)
Comment 6 Frank Becker CLA 2008-11-06 16:02:47 EST
Created attachment 117259 [details]
mylyn/context/zip
Comment 7 Robert Elves CLA 2008-11-09 14:51:28 EST
Great. BugzillaClient changes committed, ip log updated.  Frank, if you could post the unit tests as a patch to bug254695 that would be great. 
Comment 8 Frank Becker CLA 2008-11-09 23:47:25 EST
(In reply to comment #4)
> I think we need an enhancement for get the information from /editworkflow.cgi in
> the /config.cgi?ctype=rdf before we can support this in Mylyn.
Task https://bugzilla.mozilla.org/show_bug.cgi?id=463823 created for Bugzilla enhancement.
Comment 9 Matthias Ludwig CLA 2008-12-20 09:50:12 EST
*** Bug 259421 has been marked as a duplicate of this bug. ***