Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-11-25 21:08:49 +0000
committerfbecker2010-11-25 21:08:49 +0000
commit27c93bf9056f8ba54c45f6ce2659eee533b61d27 (patch)
tree8a81dfe29dc6cd0f9a4bfe77ff8959ad0ad07b07 /org.eclipse.mylyn.bugzilla.ui
parent1395fa251249e31a2f4e6a4978486b218f3a8872 (diff)
downloadorg.eclipse.mylyn.tasks-27c93bf9056f8ba54c45f6ce2659eee533b61d27.tar.gz
org.eclipse.mylyn.tasks-27c93bf9056f8ba54c45f6ce2659eee533b61d27.tar.xz
org.eclipse.mylyn.tasks-27c93bf9056f8ba54c45f6ce2659eee533b61d27.zip
ASSIGNED - bug 329164: Bugzilla 4.0 - New Default Status Workflow
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329164
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java24
1 files changed, 1 insertions, 23 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java
index eef4fe257..d0f95fe45 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java
@@ -25,16 +25,13 @@ import org.eclipse.mylyn.commons.core.StatusHandler;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttribute;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCustomField;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaOperation;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryResponse;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaVersion;
import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
import org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfiguration;
import org.eclipse.mylyn.internal.bugzilla.ui.BugzillaUiPlugin;
import org.eclipse.mylyn.internal.provisional.commons.ui.WorkbenchUtil;
-import org.eclipse.mylyn.internal.tasks.ui.editors.TaskEditorActionPart;
import org.eclipse.mylyn.tasks.core.RepositoryResponse;
import org.eclipse.mylyn.tasks.core.RepositoryStatus;
import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
@@ -401,26 +398,7 @@ public class BugzillaTaskEditorPage extends AbstractTaskEditorPage {
attributeDefaultAssignee.setValue("1"); //$NON-NLS-1$
refresh(attributeDefaultAssignee);
}
- if (taskAttribute.getTaskData().isNew()) {
- BugzillaVersion bugzillaVersion = repositoryConfiguration.getInstallVersion();
- if (bugzillaVersion == null) {
- bugzillaVersion = BugzillaVersion.MIN_VERSION;
- }
- if (bugzillaVersion.compareMajorMinorOnly(BugzillaVersion.BUGZILLA_4_0) >= 0) {
- AbstractTaskEditorPart part = getPart(ID_PART_ACTIONS);
- Boolean unconfirmedAllowed = repositoryConfiguration.getUnconfirmedAllowed(taskAttribute.getValue());
- TaskAttribute unconfirmedAttribute = taskAttribute.getTaskData()
- .getRoot()
- .getAttribute(
- TaskAttribute.PREFIX_OPERATION + BugzillaOperation.unconfirmed.toString());
- unconfirmedAttribute.getMetaData().putValue(TaskAttribute.META_UNCONFIRMED_ALLOWED,
- unconfirmedAllowed.toString());
- if (part != null) {
- TaskEditorActionPart actionPart = (TaskEditorActionPart) part;
- actionPart.refreshOperations(true);
- }
- }
- }
+
/*
* add confirm_product_change to avoid verification page on submit
*/

Back to the top