Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2007-11-19 15:46:58 -0500
committerspingel2007-11-19 15:46:58 -0500
commit8ea42fa4712fcd6a2ff860bb7b15a10ec4eb4ca5 (patch)
treecf628f7350b5777830b2bca4b65bd635d7354499 /org.eclipse.mylyn.trac.core
parent5971c2f7c9bdaf2a0a78b260b7cb1d5f5a1a6e86 (diff)
downloadorg.eclipse.mylyn.tasks-8ea42fa4712fcd6a2ff860bb7b15a10ec4eb4ca5.tar.gz
org.eclipse.mylyn.tasks-8ea42fa4712fcd6a2ff860bb7b15a10ec4eb4ca5.tar.xz
org.eclipse.mylyn.tasks-8ea42fa4712fcd6a2ff860bb7b15a10ec4eb4ca5.zip
RESOLVED - bug 209073: NewBugzillaTaskEditor contains not all attributes from enter_bug.cgi
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209073
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java2
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java5
2 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
index b763946f5..3adaaf70e 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
@@ -37,7 +37,7 @@ public class TracAttributeFactory extends AbstractAttributeFactory {
RepositoryTaskAttribute.DESCRIPTION, true, false), ID(Key.ID, "<used by search engine>", null, true), KEYWORDS(
Key.KEYWORDS, "Keywords:", RepositoryTaskAttribute.KEYWORDS), MILESTONE(Key.MILESTONE, "Milestone:",
null), NEW_CC(RepositoryTaskAttribute.NEW_CC, "Add CC:"), OWNER(Key.OWNER, "Assigned to:",
- RepositoryTaskAttribute.USER_ASSIGNED, true, false), PRIORITY(Key.PRIORITY, "Priority:", null), REPORTER(
+ RepositoryTaskAttribute.USER_ASSIGNED, true, true), PRIORITY(Key.PRIORITY, "Priority:", null), REPORTER(
Key.REPORTER, "Reporter:", RepositoryTaskAttribute.USER_REPORTER, true, true), RESOLUTION(
Key.RESOLUTION, "Resolution:", RepositoryTaskAttribute.RESOLUTION, false, true), SEVERITY(Key.SEVERITY,
"Severity:", null), STATUS(Key.STATUS, "Status:", RepositoryTaskAttribute.STATUS, false, true), SUMMARY(
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
index c68bcfb1e..267f12825 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
@@ -217,7 +217,10 @@ public class TracTaskDataHandler extends AbstractTaskDataHandler {
createAttribute(factory, data, Attribute.SEVERITY, client.getSeverities());
createAttribute(factory, data, Attribute.TYPE, client.getTicketTypes());
- createAttribute(factory, data, Attribute.OWNER);
+ RepositoryTaskAttribute attribute = createAttribute(factory, data, Attribute.OWNER);
+ if (!existingTask) {
+ attribute.setReadOnly(false);
+ }
createAttribute(factory, data, Attribute.MILESTONE, client.getMilestones(), true);
if (existingTask) {
createAttribute(factory, data, Attribute.REPORTER);

Back to the top