| Summary: | [repository] loading children of a composite repo is not covered by progress monitors | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Helmut J. Haigermoser <helmut.haigermoser> | ||||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | irbull, pascal, susan | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 3.7 M6 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Helmut J. Haigermoser
Patch welcome. Created attachment 172410 [details]
propsed patch to get progress from loading the children
Hi Pascal :)
Let me know what you think, this first version informs the progress monitor about the loading of children...
Helmut
*** Bug 311585 has been marked as a duplicate of this bug. *** Created attachment 188365 [details]
updated patch
I applied the patch and then ran Susan's scenario in the dup'd bug (perform a Reload in the Prefs page) but the progress still wasn't quite right. But after some digging, I found the culprit. In AbstractRepositoryManager#loadRepository the monitor was being passed to the transport to load an index file, but we weren't creating a child first. I've fixed that and released your patch as well. Thanks for the patch.
Closing. (In reply to comment #4) > Created attachment 188365 [details] > updated patch > > I applied the patch and then ran Susan's scenario in the dup'd bug (perform a > Reload in the Prefs page) but the progress still wasn't quite right. But after > some digging, I found the culprit. In AbstractRepositoryManager#loadRepository > the monitor was being passed to the transport to load an index file, but we > weren't creating a child first. I've fixed that and released your patch as > well. Thanks for the patch. Thanks DJ, that's great! :) Helmut thanks, DJ! That has bugged me for a long time! |