Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-13766

Deleting a version can leave gaps in the version sequence

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.12
    • 3.9.3
    • None

    Description

      Repro steps:
      1) Create a bunch of versions
      2) Iterate through them with SOAP or some other method that exposes the sequence numbers.
      2a) Note that the sequence numbers are consecutive
      3) Delete a version from the middle of the list
      4) Repeat step 2
      4a) Note that the sequence numbers skip the deleted version's number

      When sequence numbers don't correspond to the actual array index, inserting new versions does not work as expected. The sequence as used by the SOAP method addVersion is the array index.

      Expected result:
      a) Deleting a version compacts the sequence numbers for versions past it
      or
      b) Inserting a version through SOAP uses the sequence fields rather than the array index

      Attachments

        Issue Links

          Activity

            People

              mlassau Mark Lassau (Inactive)
              48c59f05c663 Tim Burris
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: