Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-03-23 16:29:45 +0000
committerSteffen Pingel2012-03-24 12:54:02 +0000
commit762a8bb616a15e9ef5490b37b479d3388077d8ac (patch)
tree0db88a696054b0b4681440e8e316e2930f406fc7 /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal
parent5b95b128644bddd6b485fbb69014aae00dd8d229 (diff)
downloadorg.eclipse.mylyn.tasks-762a8bb616a15e9ef5490b37b479d3388077d8ac.tar.gz
org.eclipse.mylyn.tasks-762a8bb616a15e9ef5490b37b479d3388077d8ac.tar.xz
org.eclipse.mylyn.tasks-762a8bb616a15e9ef5490b37b479d3388077d8ac.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
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal')
-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