Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358906 - Update Repository Configuration does not update fields in tasks created but not yet submitted
Summary: Update Repository Configuration does not update fields in tasks created but n...
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 358825 375801 (view as bug list)
Depends on: 359300
Blocks:
  Show dependency tree
 
Reported: 2011-09-26 10:34 EDT by maarten meijer CLA
Modified: 2012-04-04 02:30 EDT (History)
3 users (show)

See Also:


Attachments
Properties of task that doesn't want to submit (302.76 KB, image/png)
2011-09-26 11:18 EDT, maarten meijer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description maarten meijer CLA 2011-09-26 10:34:03 EDT
I upgraded my bugzilla instalation to version 4.0.2.
I run ./checksetup.pl and fix all missing packages

I fire up Eclipse using 3.7.1 and Mylyn 3.6.2 latest versions
I create a new Bug against the bugzilla and fail with this message

Submit failed: invalid status: There is no status named 'NONE' 

There is no custom workflow defined
Fails with and without xmlrpc.cgi, though switching on appears to create other problem
Comment 1 Steffen Pingel CLA 2011-09-26 11:09:09 EDT
Did you keep the workflow configuration from Bugzilla 3.6.x or did you migrate to the new Bugzilla 4.x workflow? Have you tried refreshing the repository configuration?
Comment 2 maarten meijer CLA 2011-09-26 11:18:51 EDT
Created attachment 204016 [details]
Properties of task that doesn't want to submit
Comment 3 maarten meijer CLA 2011-09-26 11:19:03 EDT
I have never touched workflow options in bugzilla before so I did not make any changes from default.
I have refreshed the Repository configuration several times now
Comment 4 maarten meijer CLA 2011-09-26 11:35:29 EDT
http://bugzillaupdate.wordpress.com/2010/07/06/bugzilla-4-0-has-a-new-default-status-workflow/
So I have the old workflow, after updating and recreating the Task submit succeeds.

Update Repository Attriibutes does that for the repository, queries and new tasks, but not for unsubmitted new tasks.
Raise new bug for this?
Comment 5 Steffen Pingel CLA 2011-09-26 11:55:02 EDT
To recap what the failure scenario is:

* Update Bugzilla 3.x -> 4.x
* Create new task in Mylyn 

An error occurs "There is no status named 'NONE'". 

To fix the problem:

* Refresh repository configuration
* Delete and re-create unsubmitted task

This time the submission works.

Is that correct? We can update the summary and use this task to track the problem with refreshing the configuration for unsubmitted tasks.
Comment 6 Steffen Pingel CLA 2011-09-27 05:51:21 EDT
*** Bug 358825 has been marked as a duplicate of this bug. ***
Comment 7 maarten meijer CLA 2011-09-27 06:16:31 EDT
That is correct, though I also feel that connector should work when you have NOT upgraded your workflow,.
Or is that a question of Bugzilla setup, more specifically Administration / Parameters / Query Defaults?

Name was formerly: Bugzilla connector cannot submit new task to Bugzilla 4.0.2
Lets continue with fixing Update Repository Configuration  on unsubmitted tasks.

When a new task is created it takes TaskAttributes from the current repository configuration, then after doing update configuration these TaskAttributes are not updated to new values.
This can be observed in Properties view using the org.eclipse.mylyn.sandbox.dev bundle
Comment 8 Steffen Pingel CLA 2011-09-27 06:38:51 EDT
(In reply to comment #7)
> That is correct, though I also feel that connector should work when you have NOT
> upgraded your workflow,.

Yes, absolutely. I was just attempting to record the steps in order to help us reproduce and diagnose the problem the further.
Comment 9 Steffen Pingel CLA 2012-04-04 02:30:28 EDT
*** Bug 375801 has been marked as a duplicate of this bug. ***
Comment 10 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn