diff options
author | Steffen Pingel | 2012-03-23 16:29:45 +0000 |
---|---|---|
committer | Steffen Pingel | 2012-03-23 16:29:45 +0000 |
commit | 3f413f2fb34672b130ec1c700a786b79def16cfe (patch) | |
tree | 0b38e8193e70a5e9700c926842624b77f853cb41 | |
parent | 75edc1f58fa1b9cb556ea56cbf454e262a70bde7 (diff) | |
download | org.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.java | 3 |
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); } } |