Release editor does not handle removed mediums correctly when reordering mediums

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2014-12-01
    • Affects Version/s: None
    • Component/s: Release editor
    • None

      To reproduce:

      • Edit a release with 1 medium, go to the tracklist tab
      • Add a second medium
      • Remove the first medium
      • Go to the edit note tab and attempt to submit the edits

      Expected behaviour: The new medium becomes medium 1, and since medium positions must be unique, the medium being removed becomes the last medium (in this case, medium 2).
      Actual behaviour: The release editor submits the edits to add and remove the mediums, but fails on the reorder mediums edit with "Bad Request: 400" (which is an internal server error behind the scenes) because it only tries to move the new medium to position 1, which it can't because the medium being removed is already position 1.

            Assignee:
            Michael Wiencek
            Reporter:
            nikki
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-12-01