Skip to content

[MRESOLVER-379] Problem when relocations and ranges are used in collection #1051

@jira-importer

Description

@jira-importer

Tamas Cservenak opened MRESOLVER-379 and commented

Affects both old DF and new BF collectors.
Example:

  • A1 -> B[1,3]
  • B1 relocated to C1
  • B2 relocated to C2
  • B3 relocated to C3

In this example, as output of collection dirty tree (verbose) I'd expect:

A1
+- C1
+- C2
+- C3

But none of the DF or BF produce this, moreover, they produce DIFFERENT outputs:

DF does this:

A1
+- C1

BF does this:

A1
+- C3

Cause is probably as BF "reverse sort" versions, but none will return proper range.

Real life example: MRESOLVER-376, where junit:junit-dep:[4.9,) range "maps itself" onto junit:junit versions.


Issue Links:

  • MNG-3454 processing a relocation erases requested version range

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions