Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-03-23 16:29:45 +0000
committerSteffen Pingel2012-03-23 16:29:45 +0000
commit3f413f2fb34672b130ec1c700a786b79def16cfe (patch)
tree0b38e8193e70a5e9700c926842624b77f853cb41
parent75edc1f58fa1b9cb556ea56cbf454e262a70bde7 (diff)
downloadorg.eclipse.mylyn.tasks-3f413f2fb34672b130ec1c700a786b79def16cfe.tar.gz
org.eclipse.mylyn.tasks-3f413f2fb34672b130ec1c700a786b79def16cfe.tar.xz
org.eclipse.mylyn.tasks-3f413f2fb34672b130ec1c700a786b79def16cfe.zip
bug 364381: content assist in the task editor makes the wrong name/email
match https://bugs.eclipse.org/bugs/show_bug.cgi?id=364381
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
index ca2dc11fd..d285179fa 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
@@ -295,7 +295,8 @@ public class PersonProposalProvider implements IContentProposalProvider {
private void addPerson(TaskData data, Set<String> addresses, String key) {
TaskAttribute attribute = data.getRoot().getMappedAttribute(key);
- if (attribute != null) {
+ // ignore modifiable attributes which may have a value edited by the user which may not be a valid proposal
+ if (attribute != null && attribute.getMetaData().isReadOnly()) {
addPerson(data, addresses, attribute);
}
}

Back to the top