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

Lessons: "Add items from another page" throws IndexOutOfBoundsException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 12.7, 19.1, 20.0
    • Fix Version/s: 19.2, 20.0
    • Component/s: Lessons
    • Labels:
      None
    • 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. Add a text block with the text "Some text" saved to the Week 1 page.
      3. Go to the blank Week 2 page. Click Reorder at the top, then choose "Add items from another page".
      4. A list of existing pages appears. Select the Week 1 page. Then click "Use selected item".
      5. A list of all content items from Week 1 page should appear. Click SAVE. The text block from the Week 1 page should now be copied onto the Week 2 page.

      The bug manifests when clicking "Save" in step 5 does not seemingly do anything. A stack trace is logged in catalina.out with an IndexOutOfBoundsException. This stack trace is in the attached text file, IndexOutOfBoundsException_20.x.txt

      Show
      As an instructor, add "Week 1" and "Week 2" top-level Lessons pages to a site. Add a text block with the text "Some text" saved to the Week 1 page. 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 all content items from Week 1 page should appear. Click SAVE. The text block from the Week 1 page should now be copied onto the Week 2 page. The bug manifests when clicking "Save" in step 5 does not seemingly do anything. A stack trace is logged in catalina.out with an IndexOutOfBoundsException. This stack trace is in the attached text file, IndexOutOfBoundsException_20.x.txt

      Description

      The "Add items from another page" function for copying page items is currently throwing an IndexOutOfBoundsException. See the attached text file for the stack trace and the test plan for details on how to reproduce this bug.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    a.fish@lancaster.ac.uk Adrian Fish
                    Reporter:
                    hornersa Sean Horner
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration