diff options
author | relves | 2008-06-18 17:12:24 +0000 |
---|---|---|
committer | relves | 2008-06-18 17:12:24 +0000 |
commit | d77454320e6f95f324acd13ccf98f9e56ebb32f0 (patch) | |
tree | 671e57f93af8eee12cf54b135673033cc1bd8866 /org.eclipse.mylyn.bugzilla.core | |
parent | 8e4fc48361d79eabe1a2154871dac4a7314beee5 (diff) | |
download | org.eclipse.mylyn.tasks-d77454320e6f95f324acd13ccf98f9e56ebb32f0.tar.gz org.eclipse.mylyn.tasks-d77454320e6f95f324acd13ccf98f9e56ebb32f0.tar.xz org.eclipse.mylyn.tasks-d77454320e6f95f324acd13ccf98f9e56ebb32f0.zip |
RESOLVED - bug 237566: port custom attribute support
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237566
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java index 9d3c08af4..4849ff861 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java @@ -1319,7 +1319,6 @@ public class BugzillaClient { } boolean parseable = false; - List<BugzillaCustomField> customFields = repositoryConfiguration.getCustomFields(); if (method.getResponseHeader("Content-Type") != null) { Header responseTypeHeader = method.getResponseHeader("Content-Type"); for (String type : VALID_CONFIG_CONTENT_TYPES) { @@ -1337,7 +1336,10 @@ public class BugzillaClient { monitor.worked(1); } }; - + List<BugzillaCustomField> customFields = new ArrayList<BugzillaCustomField>(); + if (repositoryConfiguration != null) { + customFields = repositoryConfiguration.getCustomFields(); + } factory.populateReport(taskDataMap, collector2, mapper, customFields); taskIds.removeAll(idsToRetrieve); parseable = true; |