Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360786

Summary: [mirror] MirrorApplication mirrors all artifacts if none of the mirrored units has an artifact
Product: [Eclipse Project] Equinox Reporter: Tobias Oberlies <t-oberlies>
Component: p2Assignee: Tobias Oberlies <t-oberlies>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.8.0 Juno   
Target Milestone: Luna M3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 403614    

Description Tobias Oberlies CLA 2011-10-13 05:53:29 EDT
For a joint metadata and artifact mirror operation for an IU subset, the mirror application mirrors all artifacts if all mirrored IUs don't have any artifacts specified.

The error seems to located in line 221 in MirrorApplication.java.

Steps to reproduce:
- I have a simple case in a Tycho project - still need to make a p2 test case out of it.
Comment 1 Tobias Oberlies CLA 2013-10-28 05:29:16 EDT
Added a unit test in p2.tests and fixed behaviour: http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=44070a0617b4b637474685b06b99bc244e567f6d