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

Lessons Common Cartridge doesn't import (it's own content) correctly

    Details

    • 12 status:
      Resolved
    • 11 status:
      Resolved
    • Previous Issue Keys:
      LSNBLDR-807
    • Test Plan:
      Hide
      • Add Lessons and Resources to a site (minimally)
      • Create two text items on a Lessons page
      • Export the lessons page (no checkboxes matter)
        • Use newest version of file (version 1.3) to export

      The file exported should be called sakai-export.imscc (This is just a special zip file)

      Now try to re-import the file in the same site or a new site.

      Expected: A new Lesson is created, both items appear
      Actual, first item appears, toolbar isn't visible and nothing works.

      After this is tested mark KNL-1580 as verified.

      Show
      Add Lessons and Resources to a site (minimally) Create two text items on a Lessons page Export the lessons page (no checkboxes matter) Use newest version of file (version 1.3) to export The file exported should be called sakai-export.imscc (This is just a special zip file) Now try to re-import the file in the same site or a new site. Expected: A new Lesson is created, both items appear Actual, first item appears, toolbar isn't visible and nothing works. After this is tested mark KNL-1580 as verified.

      Description

      I believe this is a problem with both LSNBLDR-455 and removal of iframes but any content exported directly from lessons will no longer import correctly anymore.

      For example just create a simple page with two text items with any content and export. Then try to import.

      Because lessons is creating full documents in CCExport.java rather than just document fragments it really makes the resulting page unusable. This isn't a problem isolated to import. If you create a full html document in CKEditor with <html> tags it also breaks lessons but this seems less likely.

      I feel like the document should be stripped back to a fragment again if it's inserting/displaying it inline.

      See the attacments is what it looks like before exporting, the is the result.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code