Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-11-07 19:39:38 -0500
committermkersten2006-11-07 19:39:38 -0500
commitf27ee8aa7b8629541e9066378fe8060940d43425 (patch)
tree03c8025746f437c013ab6d4dc8d9c91383bfb070 /org.eclipse.mylyn.trac.core/src
parent275f116808d5891f93d75c2b8204538097140648 (diff)
downloadorg.eclipse.mylyn.tasks-f27ee8aa7b8629541e9066378fe8060940d43425.tar.gz
org.eclipse.mylyn.tasks-f27ee8aa7b8629541e9066378fe8060940d43425.tar.xz
org.eclipse.mylyn.tasks-f27ee8aa7b8629541e9066378fe8060940d43425.zip
NEW - bug 103932: support applying patches via drag-and-drop
https://bugs.eclipse.org/bugs/show_bug.cgi?id=103932
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
index 7ec00d6b6..30d6d79ea 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
@@ -132,7 +132,7 @@ public class TracOfflineTaskHandler implements IOfflineTaskHandler {
TracAttachment[] attachments = ticket.getAttachments();
if (attachments != null) {
for (int i = 0; i < attachments.length; i++) {
- RepositoryAttachment taskAttachment = new RepositoryAttachment(factory);
+ RepositoryAttachment taskAttachment = new RepositoryAttachment(repository, factory);
taskAttachment.setCreator(attachments[i].getAuthor());
taskAttachment.setAttributeValue(Attribute.DESCRIPTION.getTracKey(), attachments[i].getDescription());
taskAttachment.setAttributeValue(RepositoryTaskAttribute.ATTACHMENT_FILENAME, attachments[i]

Back to the top