Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-13675

Adding New Items Scrambles Custom Order in Resources

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.1, 2.5.0, 2.5.2, 2.5.3, 2.6.0
    • Fix Version/s: 2.5.6, 2.6.2
    • Component/s: Content
    • Labels:
      None

      Description

      When items in Resources have been arranged with the Reorder function, adding new items can scramble the custom order of items. Several instructors at Stanford have complained about this. Every time they add new items, they have to manually adjust their items back to the order they desire. Usually, the desired order is by display name, such as Lecture 1, Lecture 2, Lecture 3, etc. This has happened with files and links. Sometimes, the order will revert to an alpha-numeric order and sometimes it will reorder in a random way that seems to have no logic to it. Instructors reporting this problem say that their items get randomly reordered.

      I replicated this on sakai nightly Maintenance Branch 2.4.x (we are running 2.4.x at Stanford). I added files and reordered the files according to display name to keep them in a numerical order. I then added one extra file (Lecture 12) and the files reordered in an alpha-numeric order, Lecture 10, 11,12 appear after Lecture 1, but before Lecture 2. I removed Lecture 12, manually adjusted the order to make sure Lecture 10 and 11, went after Lecture 1-5. I then added Lecture 12 and 13 at the same time. The files got reordered in a way that doesn't even follow the alpha-numeric logic.

      See screen shots. First screen shot show files that have been reordered by display name. Second screen shot shows how the files are reordered after adding one new item. Third screen shot shows how the files are reordered after adding two new items at the same time.

        Gliffy Diagrams

          Attachments

          1. 25x-about_to_reorder.jpg
            25x-about_to_reorder.jpg
            81 kB
          2. 25x-my_custom_order.jpg
            25x-my_custom_order.jpg
            54 kB
          3. 25x-order_has_not_been_saved.jpg
            25x-order_has_not_been_saved.jpg
            83 kB
          4. 25x-resources.jpg
            25x-resources.jpg
            81 kB
          5. content-reorder.patch
            2 kB
          6. custom_order.jpg
            custom_order.jpg
            303 kB
          7. order_add_one_item.jpg
            order_add_one_item.jpg
            332 kB
          8. order_add_two_items.jpg
            order_add_two_items.jpg
            359 kB
          9. SAK-13675-2.5.x_r69112.patch
            1.0 kB

            Issue Links

              Activity

                People

                • Assignee:
                  jimeng Jim Eng (Inactive)
                  Reporter:
                  cdoherty@stanford.edu Christine Doherty
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code