Details

    • 19 status:
      Won't Fix
    • Test Plan:
      Hide

      Create two sites and add Assignments, Gradebook, Announcements and Calendar to both.

      Create an assignment in site B, published. Set the assignment to send grades to gradebook, add due date to calendar, and post an announcement.

      In site A, go into site info and import content.

      Select site B and replace data, then click the assignment tool checkbox

      You should see the options link appear. Click it.

      You should see the publish checkbox popup. Check it.

      Finish the import and check out site A's assignments tool. You should see the assignment from site B, published, not draft. Gradebook item, announcement and calendar event should also be present.

      Now remove that assignment from site A.

      Create an assignment in site A.

      Go into site info and import content.

      Select site B and merge data. This time, when you pick the assignment and complete, you should see both assignments in site A.

      Show
      Create two sites and add Assignments, Gradebook, Announcements and Calendar to both. Create an assignment in site B, published. Set the assignment to send grades to gradebook, add due date to calendar, and post an announcement. In site A, go into site info and import content. Select site B and replace data, then click the assignment tool checkbox You should see the options link appear. Click it. You should see the publish checkbox popup. Check it. Finish the import and check out site A's assignments tool. You should see the assignment from site B, published, not draft. Gradebook item, announcement and calendar event should also be present. Now remove that assignment from site A. Create an assignment in site A. Go into site info and import content. Select site B and merge data. This time, when you pick the assignment and complete, you should see both assignments in site A.

      Description

      This is part of SAK-40336, give an option on copy / import to have the content for specific tools imported as draft or published. 

      When copied, Assignments will have the option to be copied as drafts or published. If the instructor / site creator selects draft, the assignments will be copied using the default option:

      • Assignments will all be Drafts.
      • All settings are copied from the original assignments

      If the instructor selects published, the assignments will be copied to match the original as much as possible:

      • Status of the assignment matches the original (draft / not draft). This is what the property import.importAsDraft=false does. 
      • If the original assignment created a Gradebook item, that item is created (if Gradebook is present in the course).
        • If the original assignment-created GB item was included in a category and Gradebook is also copied, the new assignment item is placed in the appropriate category.
      • If the original assignment put the due date on the calendar, the calendar event is created (if Calendar is present in the course).
      • If the original assignment created an announcement for the open date, the announcement is created (if Announcements tool is present).
      • All other assignment settings are copied from the original. 

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  cschwiebert Christina Schwiebert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code