Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2008-07-08 18:10:29 +0000
committerrelves2008-07-08 18:10:29 +0000
commitf241a1cd0ec1ce9dd4a8eeaf8df8b73b3a2bc94b (patch)
tree252fc5a6ace0721dbddba6abc2b64d8a5b937e49
parentb69427d2ed0af133be76f3370d1274d596083511 (diff)
downloadorg.eclipse.mylyn.tasks-f241a1cd0ec1ce9dd4a8eeaf8df8b73b3a2bc94b.tar.gz
org.eclipse.mylyn.tasks-f241a1cd0ec1ce9dd4a8eeaf8df8b73b3a2bc94b.tar.xz
org.eclipse.mylyn.tasks-f241a1cd0ec1ce9dd4a8eeaf8df8b73b3a2bc94b.zip
NEW - bug 238011: summary does not have spell checking
https://bugs.eclipse.org/bugs/show_bug.cgi?id=238011
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttribute.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java9
2 files changed, 9 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttribute.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttribute.java
index 86416a7d0..f69fa0341 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttribute.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttribute.java
@@ -114,7 +114,7 @@ public enum BugzillaAttribute {
SET_DEFAULT_ASSIGNEE("Reassign to default assignee", "set_default_assignee", TaskAttribute.TYPE_OPERATION, false,
false),
- SHORT_DESC("Summary:", "short_desc", TaskAttribute.TYPE_SHORT_TEXT, true, false),
+ SHORT_DESC("Summary:", "short_desc", TaskAttribute.TYPE_SHORT_RICH_TEXT, true, false),
SIZE("Size:", "size", TaskAttribute.TYPE_SHORT_TEXT, false, false),
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
index bf9e82b6b..cf59210b1 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
@@ -133,7 +133,14 @@ public class BugzillaTaskDataHandler extends AbstractTaskDataHandler {
}
}
},
- VERSION_CURRENT(4.4f) {
+ VERSION_4_4(4.4f) {
+ @Override
+ void migrate(TaskRepository repository, TaskData data) {
+ // summary didn't have spell checking, update to short rich text
+ updateAttribute(data, BugzillaAttribute.SHORT_DESC);
+ }
+ },
+ VERSION_CURRENT(4.5f) {
@Override
void migrate(TaskRepository repository, TaskData data) {
data.setVersion(TaskDataVersion.VERSION_CURRENT.toString());

Back to the top