Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 281590 - [regression] cannot set resolution for reopened tasks
Summary: [regression] cannot set resolution for reopened tasks
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: 3.2.1   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 281634 283524 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-25 19:40 EDT by Klaus Scharpf CLA
Modified: 2009-07-15 11:33 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Scharpf CLA 2009-06-25 19:40:08 EDT
Build ID: 20090621-0832

Steps To Reproduce:
1. Reopened an existing Trac task via Mylyn
2. It only shows "resolve as", but no drop-down box

Even worse:
1. Create a brand new task for Trac via Mylyn
2. "resolve as" has no drop down box.

But:
1. any existing and already created task before I moved to the new Eclipse 3.5 can still be resolved


More information:
I just installed the J2EE version of Eclipse 3.5 (Galileo) with Mylyn 3.2 (it already comes bundled).
Then I re-connected to my Trac repository.

Trac has two changes from standard:
- Master ticket hack
- I added another attribute to the tickets.
Strangely, these two items work just fine

Workaround for right now (VERY ANNOYING):
1. Click on web link for Trac ticket via Mylyn
2. Change Trac ticket via web site
3. Sync up ticket in Eclipse
Comment 1 Steffen Pingel CLA 2009-06-25 19:56:13 EDT
Which version of Trac and the XmlRpcPlugin are you using?
Comment 2 Steffen Pingel CLA 2009-06-25 23:17:45 EDT
I have been able to reproduce this with Trac 0.10 and an XmlRpcPlugin version 0.0.2.
Comment 3 Marco Maccaferri CLA 2009-06-26 06:12:52 EDT
I'm experiencing a similar issue, except that things are much worse here: after synchronizing incoming changes all radio buttons are blank, no descriptions, no drop downs, nothing, only the buttons.

Trac: 0.11.4.
XmlRpc: 1.0.3 (r6064)
Mylyn Connector: Trac 3.2.0.v20090617-0100-e3x
OS: Fedora Linux 10 x86_64
Comment 4 Steffen Pingel CLA 2009-06-26 11:20:48 EDT
Marco, that sounds like a separate problem. Are there any messages in your trac log?
Comment 5 Steffen Pingel CLA 2009-06-26 11:30:39 EDT
*** Bug 281634 has been marked as a duplicate of this bug. ***
Comment 6 Marco Maccaferri CLA 2009-06-26 11:39:35 EDT
(In reply to comment #4)

No, no messages.

I tried to grant more permissions to the trac user just in case (TICKET_ADMIN and TRAC_ADMIN) but nothing.

The problem on my side started in the same way as this issue, I've received a new ticket and saw that the resolution drop down was missing, then I've re-synchronized the task and all button descriptions disappeared. That's why I think it is related.
Comment 7 Steffen Pingel CLA 2009-06-26 11:42:53 EDT
I am fairly sure that this bug is specific to older versions of the XmlRpcPlugin. Does your repository have a customized workflow?
Comment 8 Klaus Scharpf CLA 2009-06-26 11:57:30 EDT
I just updated my XmlRpcPlugin to the latest version, and that SOLVED the issue!
Thanks for trying to figure out what was going on. I thought of making sure that Eclipse and Mylyn were all up-to-date and in sync, but I didn't think to check the Trac plugin itself...
BTW: I am using Trac 11.2.1, and now XmlRpcPlugin 1.0.5 (instead of an older one...)

I hope that also solves Marco's issue.
Comment 9 Marco Maccaferri CLA 2009-06-26 14:17:39 EDT
I've updated XmlRpc to the latest version and all is working again (including the button labels), I tought that I was running the latest version, thanks for pointing that out.

May I suggest to specify what is the latest XmlRpc revision that works with Mylyn in the New & Noteworthy page ? I see that most changes were made these days so one may think that it has the latest version but it is not.

The revision I've installed is r6106.
Comment 10 Steffen Pingel CLA 2009-06-26 16:53:12 EDT
Thanks. I wasn't aware that there were problems with particular XmlRpcPlugin versions. I'll add an FAQ entry and a check in the code.
Comment 11 Johannes Weberhofer CLA 2009-07-01 06:17:29 EDT
Also with the latest version of the XML-RPC plugin the "Resolve as" Action does not allow to select the resolution; this is valid here for all opened/reopened tickets.
Comment 12 Steffen Pingel CLA 2009-07-01 18:38:17 EDT
I have committed a fix. A weekly build will be available in 2 hours: http://www.eclipse.org/mylyn/downloads/#weekly .
Comment 13 Steffen Pingel CLA 2009-07-15 11:33:27 EDT
*** Bug 283524 has been marked as a duplicate of this bug. ***