| Summary: | [backport] 3.7.2: Order mismatch when saving/restoring workspace trees | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | James Blackburn <jamesblackburn+eclipse> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | adrian.ashley, bbelyavsky, jamesblackburn+eclipse, marcin.swiezawski, mober.at+eclipse, pmason, Szymon.Brandys, wbprio, yevshif |
| Version: | 3.7.1 | Flags: | Szymon.Brandys:
review+
|
| Target Milestone: | 3.7.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 361675 | ||
| Bug Blocks: | |||
|
Description
James Blackburn
+ Szymon for review for backport to 3.7.x. The patch for Bug 361675 cherry-pick's nicely onto the 3.7.2 branch. I think it's a pretty straightforward and safe bugfix to the metadata save and restore logic. Of particular note: For serialization: the total number of trees serialized is the same. Just the ordering is changed: trees for the active configuration are serialized first, followed by trees for all the other configurations (corresponding to the build persistent info order). For de-serialization: for multi-configuration build, the active config trees are linked first, followed by the 3.7.x+ build persistent infos and trees. The patch ensures that the tree order is consistent with the builder info order. Looks good. James please backport. Thanks Szymon! |