Bug 142280 - [context] change sets do not refresh properly when model synch mode
Summary: [context] change sets do not refresh properly when model synch mode
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 181282 (view as bug list)
Depends on: 142395 266477 320108
Blocks:
  Show dependency tree
 
Reported: 2006-05-17 12:32 EDT by Mik Kersten CLA
Modified: 2013-06-19 04:47 EDT (History)
6 users (show)

See Also:


Attachments
mylyn/context/zip (65.10 KB, application/octet-stream)
2008-06-30 21:46 EDT, Mik Kersten CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mik Kersten CLA 2006-05-17 12:32:20 EDT
The Commit action is not enabled on the change set node.
Comment 1 Mik Kersten CLA 2006-05-17 23:11:27 EDT
Also, the context change sets are not refreshed correctly (see bug 142395).
Comment 2 Mik Kersten CLA 2006-05-18 11:17:57 EDT
Actions now enabled thanks to pointer on bug 142395.
Comment 3 Mik Kersten CLA 2006-05-19 17:53:33 EDT
This has been improved, but at this point it looks lke refresh is being blocked by bug 142395.  The work-around is to toggle between modes.
Comment 4 Mik Kersten CLA 2006-09-25 18:09:20 EDT
Will watch whether or not this has been improved in 3.3M2...
Comment 5 Mik Kersten CLA 2006-11-27 10:13:03 EST
Not much left to do that's within our control here, but will look into this again before 1.0.
Comment 6 Mik Kersten CLA 2007-06-11 18:20:50 EDT
This works in almost all cases now, but on rare occasion I have still seen refresh problems with the Synchronize view.  If I find something reproducible I put that on a Platform/Team bug.  Toggling the mode on the Synchronize view always resolves it.

*** This bug has been marked as a duplicate of bug 142395 ***
Comment 7 Mik Kersten CLA 2007-07-23 14:22:27 EDT
The Platform/Team bug 142280 is still a problem but is closed now, so I'm reopening this so that we don't lose track of it.
Comment 8 Mik Kersten CLA 2007-07-23 14:23:04 EDT
*** Bug 181282 has been marked as a duplicate of this bug. ***
Comment 9 Mik Kersten CLA 2008-06-12 18:54:50 EDT
Need to defer: http://wiki.eclipse.org/index.php/Mylyn/3.0_Plan#Deferred_Items
Comment 10 Mik Kersten CLA 2008-06-18 19:02:38 EDT
Let's explore this for 3.0.1.  Worst-case scenario we could consider to force a refresh of the viewer by grabbing the view from the active perspective. 
Comment 11 Mik Kersten CLA 2008-06-30 21:46:43 EDT
Committed TestSyncViewRefresh where we can experiment with this.
Comment 12 Mik Kersten CLA 2008-06-30 21:46:47 EDT
Created attachment 106189 [details]
mylyn/context/zip
Comment 13 Mik Kersten CLA 2008-06-30 21:51:25 EDT
Work-around is still to toggle incoming vs. outgoing mode.
Comment 14 Mik Kersten CLA 2008-06-30 21:54:17 EDT
Stefen: the only thing I could consider us doing for 3.0.1. is a periodic refresh (e.g. every 5 min do AbstractSynchronizePage.getViewer().refresh(null)) in order to "correct" the state of the Synchronize view.  This would be a temporary hack/workaround while we get the root problem diagnosed and fixed.  I don't foresee any performance problem with that.
Comment 15 Mik Kersten CLA 2008-07-22 12:07:54 EDT
Steffen: let's keep these change set things in your court for now.
Comment 16 Steffen Pingel CLA 2008-08-16 08:13:42 EDT
I have committed changes to the changeset implementation as part of bug 237367. Please watch if the synchronize view still fails to refresh properly. 

I'll have lowered the priority for now since there is a work-around (toggling between incoming/outgoing mode).
Comment 17 Steffen Pingel CLA 2008-08-21 02:25:51 EDT
A good start for investigating any remaining refresh problems would be to look at the java class org.eclipse.team.internal.ccvs.ui.mappings.ChangeSetContentProvider.
Comment 18 Mik Kersten CLA 2008-09-04 14:14:57 EDT
Tentatively scheduling for investigation in 3.2.
Comment 19 Nhat Nguyen CLA 2013-06-18 06:32:43 EDT
Hi,
This bug is kind of old but I might need some help on this. I am working on change analysis which involve extract interaction history and I came across this one. However, I am having trouble reproduce such a log with the history of interaction as this. Is there anything beside task/repository or any additional connector used to record these action?
Comment 20 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn