Testissue#addLink doesn't generate the right relationship for the reversed link

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.0
    • Affects Version/s: None
    • Component/s: libraries
    • None

      When the method `Testissue#addLink` adds a link with relationship `backport by`, it also adds a link with the same relationship to the reversed issue. It is wrong because the relationship of the reversed link should be `backport of` instead of the `backport by`.

      This problem also occurs at many other relations which don't have the same name. What I know is shown below:

      - `backported by` and `backport of`
      - `csr for` and `csr of`
      - `blocks` and `is blocked by`
      - `clones` and `is cloned by`

      ---
      I find this bug when I read the code of the test `BackportsTests#mainIssue`. Fixing this bug may influence many test cases so it needs more investigation before solving it.

            Assignee:
            Guoxiong Li
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: