This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252634

Summary: SynchronizeQueryCommand does not support status update from task connector
Product: connecteddeveloper Reporter: jijwang
Component: Issuetracking FrameworkAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description jijwang 2015-05-28 01:34:45 UTC
Currently mylyn task connector writer need to use org.netbeans.modules.mylyn.util.commands.SynchronizeQueryCommand to accomplish task query. The constructor of that class will use org.netbeans.modules.mylyn.util.CancelableProgressMonitor for the action going forward. That monitor overrides subTask(), beginTask() with dummy operation. Any progress status update from task connector via subTask() and beginTask() call will not show anything. It would be better to replace CancelableProgressMonitor with a subclass from org.eclipse.core.runtime.SubProgressMonitor where subTask(), beginTask() is defined for task connector to pass in progress status update.
Comment 1 Tomas Stupka 2015-05-28 09:12:10 UTC
this is isn't a defect
Comment 2 Tomas Stupka 2015-06-01 11:27:18 UTC
fixed in jet-main #78eb67b7b167
Comment 3 Quality Engineering 2015-06-02 03:02:05 UTC
Integrated into 'main-silver', will be available in build *201506020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/78eb67b7b167
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #252634 - SynchronizeQueryCommand does not support status update from task connector