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

Using combo of Add Multimedia, Resources HTML and height=auto, user can crash Lesson Builder tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0, 10.0
    • Component/s: Lessons
    • Labels:
      None
    • Previous Issue Keys:
      LSNBLDR-57

      Description

      Lesson Builder tool crashes with this WARN:

      2012-03-21 11:57:05,671 WARN http-21757-13 PonderUtilCore - Exception rendering view:
      java.lang.IllegalArgumentException: Cannot add leaf component with ID iframeJavascript of class uk.org.ponder.rsf.components.UIOutput as a child of component with ID viewroot of class uk.org.ponder.rsf.view.ViewRoot since it would displace an existing child of the same name.
      Please remove the existing component first.

      Steps to replicate:
      1. I went to youtube, and grabbed the "embed" code (<iframe
      ....</iframe>).
      2. I created an HTML page in Sakai Resources and pasted this code into
      the SOURCE and saved the page. Clicking on the HTML page shows an
      embedded Youtube video.
      3. I went into Lesson Builder page and clicked "add multimedia".
      4. I clicked "Choose existing file" and navigated to that HTML page and
      clicked "Select." and confirmed everything. The Youtube video showed
      up in the lesson builder.
      5. I clicked "Edit" next to that lesson builder item and then put "Auto"
      in the hight field. Upon confirming that action, that is when the error
      appeared.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hedrick Charles Hedrick
                Reporter:
                nicola@nyu.edu Nicola Monat-Jacobs
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code