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

Lessons: Invalid sequence values for multiple content links added simultaneously

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.7, 19.1, 20.0
    • Fix Version/s: 19.2, 20.0
    • Component/s: Lessons
    • Labels:
    • 19 status:
      Verified
    • 12 status:
      Please Merge
    • Test Plan:
      Hide
      1. As an instructor, add "Week 1" and "Week 2" top-level Lessons pages to a site.
      2. On the Week 1 page, click Add Content and then Add Content Links.
      3. In the popup, click "Choose Files" or "Browse". Select 2 files to upload and in the popup dialog give them Item Names "File 1" and "File 2". (See the attachment, Week1_TwoFiles.png.) Click "Save".
        • Upon clicking "Save", the bug manifests at this event, whereby both files or items on the page are assigned the same sequence value. This can be ascertained in the database (with the 'sequence' column in the 'lesson_builder_items' table), but proceed to the next steps for the bug to be manifest in the user interface.
      4. Go to the blank Week 2 page. Click Reorder at the top, then choose "Add items from another page".
      5. A list of existing pages appears. Select the Week 1 page. Then click "Use selected item".
      6. A list of the two items from Week 1 page should appear. Note however that both items have the same integer value of "1". (See the attachment, DuplicateSequenceValues.png) This is a bug. This would be resolved if the second sequence value is listed as "2". Click SAVE.
      7. When resolved the items should copy to the Week 2 page. The bug manifests by displaying an empty "Week 2" page with an alert message at the top: "Unable to continue. Some of the items have duplicate sequences." (See the attachment, DuplicateSequenceAlert.png.)
      Show
      As an instructor, add "Week 1" and "Week 2" top-level Lessons pages to a site. On the Week 1 page, click Add Content and then Add Content Links. In the popup, click "Choose Files" or "Browse". Select 2 files to upload and in the popup dialog give them Item Names "File 1" and "File 2". (See the attachment, Week1_TwoFiles.png.) Click "Save". Upon clicking "Save", the bug manifests at this event, whereby both files or items on the page are assigned the same sequence value. This can be ascertained in the database (with the 'sequence' column in the 'lesson_builder_items' table), but proceed to the next steps for the bug to be manifest in the user interface. Go to the blank Week 2 page. Click Reorder at the top, then choose "Add items from another page". A list of existing pages appears. Select the Week 1 page. Then click "Use selected item". A list of the two items from Week 1 page should appear. Note however that both items have the same integer value of "1". (See the attachment, DuplicateSequenceValues.png) This is a bug. This would be resolved if the second sequence value is listed as "2". Click SAVE. When resolved the items should copy to the Week 2 page. The bug manifests by displaying an empty "Week 2" page with an alert message at the top: "Unable to continue. Some of the items have duplicate sequences." (See the attachment, DuplicateSequenceAlert.png.)

      Description

      Adding multiple files at once with the "Add Content Links" dialog results in items that do not have valid sequence values. This causes problems downstream which prevent these items (or other items on the same page) from being copied to another page.

      See the test plan for how to reproduce this bug.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    hornersa Sean Horner
                    Reporter:
                    hornersa Sean Horner
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration