Ivy
  1. Ivy
  2. IVY-1079

Resolve with Extra Attributes, Forced Dependencies causes invalid delivered ivy file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-RC1
    • Fix Version/s: 2.2.0-RC1
    • Component/s: Core
    • Labels:
      None

      Description

      I had the following situation:

      #A;working->

      { #B;[1.0] #C;[2.0,2.5] }

      #B;1.0->#C;2.1

      #B and #C have extra attributes in the <info/> section.
      All <dependencies/> use the force attribute.

      When I resolve and deliver A using the latest-compatible conflict manager, I expect to see #C;2.1 in my deliver IVY file. However, I am seeing #C;[2.0,2.5]

      Attached are 2 tests. One which uses a file repository with ivy files for #B and #C with no extra attributes. One which does not.

      Thanks,

      Scott

        Issue Links

          Activity

          Hide
          Maarten Coene added a comment -

          It is possible that this issue has been fixed by a change made for IVY-1115. Could you give it a try?

          Maarten

          Show
          Maarten Coene added a comment - It is possible that this issue has been fixed by a change made for IVY-1115 . Could you give it a try? Maarten
          Hide
          Maarten Coene added a comment -

          I'm marking this one as fixed because the attached unit tests are already in the codebase (since IVY-1115) and are running ok.
          Please reopen if there is still a problem.

          Maarten

          Show
          Maarten Coene added a comment - I'm marking this one as fixed because the attached unit tests are already in the codebase (since IVY-1115 ) and are running ok. Please reopen if there is still a problem. Maarten

            People

            • Assignee:
              Maarten Coene
              Reporter:
              Scott Hebert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development