Bug 274405 - [target] Problems if resolution returns multi-status
Summary: [target] Problems if resolution returns multi-status
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2009-04-29 15:51 EDT by Curtis Windatt CLA
Modified: 2010-02-10 13:10 EST (History)
0 users

See Also:


Attachments
Screenshot example (47.79 KB, image/png)
2009-04-29 15:51 EDT, Curtis Windatt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2009-04-29 15:51:05 EDT
Created attachment 133829 [details]
Screenshot example

The target tracks errors separately based on whether they are resolution errors (directory foo does not exist) or bundle errors (bundle bar has a bad manifest). Different errors can be returned depending on which API is used.

Sometimes we separated the two types of errors by checking whether the status was a multi-status.  It was expected that a resolution that failed would return a single status.  The p2 target provisioner will sometimes return a multi-status (see screenshot for an example).

So far the only UI problem I see happening is that turning on "Show plug-in content" ends up hiding the resolution errors.  There may be other problems and we should try to polish the API.
Comment 1 Curtis Windatt CLA 2010-01-28 15:20:58 EST
I will try to add a bit of polish to this for 3.6 since the new api isn't going in.
Comment 2 Curtis Windatt CLA 2010-02-10 13:10:42 EST
Fixed in HEAD.  See TargetLocationGroup.  Multistatuses will now have their trees visible in the location group.  If the user turns on show plug-in content, the errors will still disappear.  The only way to fix that trivial problem would involve changing the API.