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

Bug 203106

Summary: Write tests for subtasks
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 2.1   
Hardware: PC   
OS: Linux   
URL: http://jira.atlassian.com/browse/JRA-6896
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Steffen Pingel CLA 2007-09-12 13:10:44 EDT
Write tests for bug 197004 and bug 187275.
Comment 1 Steffen Pingel CLA 2007-09-13 20:06:46 EDT
Committed tests and support for creating sub-tasks to CVS.
Comment 2 Steffen Pingel CLA 2007-09-13 20:06:57 EDT
Created attachment 78393 [details]
mylyn/context/zip
Comment 3 Eugene Kuleshov CLA 2007-09-13 22:58:53 EDT
Steffen, with recent changes in CVS, I am getting "invalid element in org.eclipse.mylyn.internal.jira.core.wsdl.beans.RemoteIssueType - subTask" when opening task from the url field as a repository task. Same error happens when I kick "refresh attributes" for that repository.
Comment 4 Steffen Pingel CLA 2007-09-13 23:24:21 EDT
> Steffen, with recent changes in CVS, I am getting "invalid element in
> org.eclipse.mylyn.internal.jira.core.wsdl.beans.RemoteIssueType - subTask"
> when opening task from the url field as a repository task. Same error 
> happens when I kick "refresh attributes" for that repository.

Odd, I didn't touch RemoteIssueType so I have no clue how where that is coming from. Which repository is it and which version of JIRA is it running?

What do you mean by "opening task from the url field as a repository task"? Where do I find the url field?


Comment 5 Eugene Kuleshov CLA 2007-09-13 23:54:04 EDT
(In reply to comment #4)
> Odd, I didn't touch RemoteIssueType so I have no clue how where that is coming
> from. Which repository is it and which version of JIRA is it running?

Sorry, I take it back. Same error happens on last dev release too. Repository is http://jira.atlassian.com/ Enterprise Edition, Version: 3.11-DEV-130807-#283

> What do you mean by "opening task from the url field as a repository task"?
> Where do I find the url field?

In the Attributes section above. Haven't you just added that url there?
Comment 6 Steffen Pingel CLA 2007-09-14 00:04:27 EDT
 (In reply to comment #5)
> Sorry, I take it back. Same error happens on last dev release too. Repository is
> http://jira.atlassian.com/ Enterprise Edition, Version: 3.11-DEV-130807-#283

Apparently the IssueType class changed:

https://svn.atlassian.com/svn/public/atlassian/rpc-jira-plugin/trunk/src/java/com/atlassian/jira/rpc/soap/beans/RemoteIssueType.java

I'll file a bug report in the Atlassian tracker.
 
> > What do you mean by "opening task from the url field as a repository task"?
> > Where do I find the url field?
> 
> In the Attributes section above. Haven't you just added that url there?

Oh, these URLs are not clickable on my system.
Comment 7 Eugene Kuleshov CLA 2007-09-14 00:19:18 EDT
It don't need to be clickable, I just opened as repository task. Though there is a patch on bug 167866 to make it clickable.
Comment 8 Steffen Pingel CLA 2007-09-14 00:31:51 EDT
Opened bug 203401 to track error described in comments 3 - 6.