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

Duplicate feature/Service Use for Template-based Course Construction

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.4, 12.0
    • Fix Version/s: None
    • Component/s: Content
    • Environment:
      11.4 Notre Dame (content in Resources doesn't copy over)
      12.0 RC05 QA2 server different results : upside down sakaiger/LTI tools missing
    • Test Plan:
      Hide
      1. Create a 'template' site. Add Resources tool. Add Lessons Tool.
      2. Add a folder "Site Assets" and select hide/but show
      3. Add another folder "LB-CSS" and upload a .css file to it. (One is attached to this case).
      4. Select the gear in the Lessons tool and choose the .css you just uploaded to associate to it.
      5. Create some Lessons text content using Header 2 format.[^LB-CSS.zip]
      6. Add an html file to the Site Assets folder (one is attached to this case to play with).
      7. Create a Web Content tool which uses the html file in Site Assets as its source.
      8. [This is your template now]
      9. Use Duplicate to create a new site. OR use the Longsight scripted process. OR use "Import from Site" inside a new site, choosing this template as your target from which to import.
      10. Compare results.

      Expected Results: Folders and files are usable. Lesson has the new .css associated to it. Web Content tool has the new html file associated to it.

      Show
      Create a 'template' site. Add Resources tool. Add Lessons Tool. Add a folder "Site Assets" and select hide/but show Add another folder "LB-CSS" and upload a .css file to it. (One is attached to this case). Select the gear in the Lessons tool and choose the .css you just uploaded to associate to it. Create some Lessons text content using Header 2 format. [^LB-CSS.zip] Add an html file to the Site Assets folder (one is attached to this case to play with). Create a Web Content tool which uses the html file in Site Assets as its source. [This is your template now] Use Duplicate to create a new site. OR use the Longsight scripted process. OR use "Import from Site" inside a new site, choosing this template as your target from which to import. Compare results. Expected Results: Folders and files are usable. Lesson has the new .css associated to it. Web Content tool has the new html file associated to it.

      Description

      Sakai 12 RC05 using "Duplicate" displays the upside down sakaiger about a minute into the duplicate. (13:51 site Dup2ND in the attached catalina.out; at top of Dup3ND-13 attached) Afterwards, clicking the browser back button returns one to the window with the modal at the top specifying to reload in order to see the new site, which I named "Dup2ND". on 3/22 I reran these tests. New site (https://qa2-us.nightly.sakaiproject.org/portal/site/DupND3/tool/a82086a2-3a28-4e7f-a4d2-04be73941e0d) Same results

      The copy of the site then appears

      Here is the type of content in the original site, which replicated to the Duplicate site:

      Overview > Site URL > outside https URL

      Lesson > Changed Title, text content, applied .css

      Resources > Folders, Files, File Types, LB-CSS folder

      Manage Groups > Groups were copied (not memberships, obviously)

      Assignments > were copied as Drafts and are editable, even Group Assignments with one submission per group; associated to GBItem

      Gradebook > only some GBItems were duplicated

      Tests & Quizzes > Working Copy

      Web Content > link to Resources, new html file was copied

       

      This content DID NOT:

      Lesson > External Tool > says "deleted"

      Assignment/Gradebook > Assignment retains the 'associated' status to a GBItem when in fact that item does not exist in the Gradebook in the new copy.

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  lgekeler Laura Gekeler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Source Code