Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360786 - [mirror] MirrorApplication mirrors all artifacts if none of the mirrored units has an artifact
Summary: [mirror] MirrorApplication mirrors all artifacts if none of the mirrored unit...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: Luna M3   Edit
Assignee: Tobias Oberlies CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 403614
  Show dependency tree
 
Reported: 2011-10-13 05:53 EDT by Tobias Oberlies CLA
Modified: 2013-10-28 05:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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