Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Cannot update/create tasks with Bugzilla 4.4.1 and Eclipse 3.7
Cannot update/create tasks with Bugzilla 4.4.1 and Eclipse 3.7 [message #1166126] Fri, 01 November 2013 16:02 Go to next message
Hernan Gonzalez is currently offline Hernan Gonzalez
Messages: 181
Registered: October 2010
Location: Buenos Aires, Argentina
Senior Member
Edited: As noted in a message below, the problem is not specific to Eclipse 3.7/Mylyn 3.6.5, it also happens with Eclipse 4.3/Mylyn 3.9.1
-------

I have Bugzilla 4.4.1 and I'm trying to connect with Eclipse Indigo. My Mylyn version is 3.6.5.

I can access my Bugzilla bugs listing (BTW: I'm using https with http authentication) but each time I try to update a task or create a new one, after pushin "Submit" the following error is reported:

  Security token error (Reason = invalid_token) occured during submission to  https://...   
Synchronize task and re-submit changes.



If this helps, this is the list of http queries that are currently triggered for a "submit" update, as per my Apache log

566 "POST /sec/bugzilla/process_bug.cgi HTTP/1.1" 401 1243 "-" "
807271 "POST /sec/bugzilla/process_bug.cgi HTTP/1.1" 200 14406 "-" "
591 "GET /sec/bugzilla/show_bug.cgi?id=126 HTTP/1.1" 401 1098 "-" "
1816424 "GET /sec/bugzilla/show_bug.cgi?id=126 HTTP/1.1" 200 48149 "-" "
598 "POST /sec/bugzilla/process_bug.cgi HTTP/1.1" 401 1098 "-" "
714864 "POST /sec/bugzilla/process_bug.cgi HTTP/1.1" 200 14110 "-" "


[Updated on: Tue, 05 November 2013 13:41]

Report message to a moderator

Re: Cannot update/create tasks with Bugzilla 4.4.1 and Eclipse 3.7 [message #1168446 is a reply to message #1166126] Sun, 03 November 2013 04:46 Go to previous messageGo to next message
Tomasz Zarna is currently offline Tomasz Zarna
Messages: 164
Registered: July 2009
Senior Member
Maybe it's about time to update Mylyn? The latest stable release is 3.9.1, 3.10 is almost cooked too.

Cheers
Re: Cannot update/create tasks with Bugzilla 4.4.1 and Eclipse 3.7 [message #1170381 is a reply to message #1166126] Mon, 04 November 2013 10:56 Go to previous messageGo to next message
Janosch Peters is currently offline Janosch Peters
Messages: 1
Registered: November 2013
Junior Member
I have the same problem using Kepler SR1, mylyn 3.9.1 and bugzilla 4.4.1-1. However, I'm able to create new tasks. Mylyn also correctly refreshes changes done through the bugzilla web interface. Only updating from mylyn does not work for me.

It would be cool if someone could try to reproduce this, as I am not sure if its a bug or a faulty configuration on my machine. I wonder why mylyn sends out two requests to process_bug when I only click once on "submit" (see screenshot).

There is an old bug report where the same error appeared. However, the bug has been resolved so the cause must be something different this time. Still, the comments in the bug report might be helpful to understand for what the security token is for and how it works.

@Hernan Gonzalez: Are you sure that you cannot create new tasks?
Re: Cannot update/create tasks with Bugzilla 4.4.1 and Eclipse 3.7 [message #1171926 is a reply to message #1170381] Tue, 05 November 2013 10:34 Go to previous messageGo to next message
Hernan Gonzalez is currently offline Hernan Gonzalez
Messages: 181
Registered: October 2010
Location: Buenos Aires, Argentina
Senior Member
Quote:
Are you sure that you cannot create new tasks?


I couldn't in my above setup (Eclipse 3.7).

I'm trying with Kepler now (Eclipse 4.3, build 20130919-0819 , Mylyn 3.9.1) , same Bugzilla as before (4.4.1).

Now the behaviour I (systematically) experience is: it works for creating new taks, I doesn't work (never) for updating tasks. Same reason as above (invalid_token).
Re: Cannot update/create tasks with Bugzilla 4.4.1 [message #1171933 is a reply to message #1168446] Tue, 05 November 2013 10:36 Go to previous messageGo to next message
Hernan Gonzalez is currently offline Hernan Gonzalez
Messages: 181
Registered: October 2010
Location: Buenos Aires, Argentina
Senior Member
Quote:
Maybe it's about time to update Mylyn? The latest stable release is 3.9.1, 3.10 is almost cooked too.


Well, with Mylyn 3.9.1 (Eclipse Kepler) I can create, but not update - see above.

[Updated on: Tue, 05 November 2013 13:00]

Report message to a moderator

Re: Cannot update/create tasks with Bugzilla 4.4.1 [message #1172376 is a reply to message #1171933] Tue, 05 November 2013 17:13 Go to previous messageGo to next message
Tomasz Zarna is currently offline Tomasz Zarna
Messages: 164
Registered: July 2009
Senior Member
It was fixed in bug 419869 and will be available in Mylyn and 3.10 and 3.9.2 (within days if not already).

Please let us know on the bug if the fix worked for you.

Cheers,
Tomasz
Re: Cannot update/create tasks with Bugzilla 4.4.1 [message #1214073 is a reply to message #1172376] Wed, 27 November 2013 09:27 Go to previous message
Alexander Adolf is currently offline Alexander Adolf
Messages: 1
Registered: November 2013
Junior Member
Tomasz Zarna wrote on Tue, 05 November 2013 17:13
It was fixed in bug 419869 and will be available in Mylyn and 3.10 and 3.9.2 (within days if not already).

Please let us know on the bug if the fix worked for you.

Cheers,
Tomasz


I can confirm that Mylyn 3.10.0 does not fix it. See bug 422353.

Sorry for not having better news,

--alex
Previous Topic:Mylyn / Jira : Broken hierachy
Next Topic:Multiple Query errors after installation
Goto Forum:
  


Current Time: Tue Sep 02 00:22:42 EDT 2014

Powered by FUDForum. Page generated in 0.01898 seconds