Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 182578 Details for
Bug 329637
do not check for stale tasks if synchronizing query on Bugzilla 3.4 or later
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
clipboard.txt (text/plain), 2.52 KB, created by
Thomas Ehrnhoefer
on 2010-11-07 15:51:49 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Thomas Ehrnhoefer
Created:
2010-11-07 15:51:49 EST
Size:
2.52 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.bugzilla.core >Index: src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java,v >retrieving revision 1.185 >diff -u -r1.185 BugzillaRepositoryConnector.java >--- src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java 6 Sep 2010 19:19:01 -0000 1.185 >+++ src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java 7 Nov 2010 20:50:12 -0000 >@@ -44,6 +44,7 @@ > import org.eclipse.mylyn.commons.net.Policy; > import org.eclipse.mylyn.internal.tasks.core.AbstractTask; > import org.eclipse.mylyn.internal.tasks.core.RepositoryQuery; >+import org.eclipse.mylyn.internal.tasks.core.sync.SynchronizationSession; > import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector; > import org.eclipse.mylyn.tasks.core.IRepositoryQuery; > import org.eclipse.mylyn.tasks.core.ITask; >@@ -322,6 +323,11 @@ > session.markStale(task); > } > } >+ if (session instanceof SynchronizationSession >+ && (((SynchronizationSession) session).getStaleTasks() == null || ((SynchronizationSession) session).getStaleTasks() >+ .size() == 0)) { >+ session.setNeedsPerformQueries(false); >+ } > > } catch (UnsupportedEncodingException e) { > throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN, >@@ -380,12 +386,12 @@ > BugzillaClient client = getClientManager().getClient(repository, new SubProgressMonitor(monitor, 1)); > TaskAttributeMapper mapper = getTaskDataHandler().getAttributeMapper(repository); > boolean hitsReceived = client.getSearchHits(query, resultCollector, mapper, monitor); >- if (!hitsReceived) { >- // XXX: HACK in case of ip change bugzilla can return 0 hits >- // due to invalid authorization token, forcing relogin fixes >- client.logout(monitor); >- client.getSearchHits(query, resultCollector, mapper, monitor); >- } >+// if (!hitsReceived) { >+// // XXX: HACK in case of ip change bugzilla can return 0 hits >+// // due to invalid authorization token, forcing relogin fixes >+// client.logout(monitor); >+// client.getSearchHits(query, resultCollector, mapper, monitor); >+// } > > if (resultCollector instanceof BugzillaTaskDataCollector) { > BugzillaTaskDataCollector bCollector = (BugzillaTaskDataCollector) resultCollector;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 329637
: 182578 |
182628
|
182629