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

Import from Site: The item details of gradebook item created by lesson tool are not duplicated correctly

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. As an instructor, open a course site with lesson and gradebook tool.
      2. Click Lessons > Add content >Add Question, enter question texts, possible answers, check "grade this question," enter a gradebook item title and a score, and click "Save."
      3. Go to gradebook tool and click "edit item details" for the newly created gradebook item. Verify the default setting is: (1) release to students; (2) include in calculations.
      4. Uncheck the box for "release to students," so that the item details become:  (1) not release to students; (2) include in calculations.
      5. Go to another site with lesson and gradebook tool. 
      6. Click Site info > Import from site, choose the previous site, and import lesson and gradebook tool from it.
      7. Go to the gradebook tool and click "edit item details" for the newly created gradebook item.

      Expected Behavior: The item details are: (1) not release to students; (2) include in calculations.

      Current Behavior: The item details are: (1) release to students; (2) include in calculations.

      Show
      As an instructor, open a course site with lesson and gradebook tool. Click Lessons > Add content >Add Question, enter question texts, possible answers, check "grade this question," enter a gradebook item title and a score, and click "Save." Go to gradebook tool and click "edit item details" for the newly created gradebook item. Verify the default setting is: (1) release to students; (2) include in calculations. Uncheck the box for "release to students," so that the item details become:  (1) not release to students; (2) include in calculations. Go to another site with lesson and gradebook tool.  Click Site info > Import from site, choose the previous site, and import lesson and gradebook tool from it. Go to the gradebook tool and click "edit item details" for the newly created gradebook item. Expected Behavior : The item details are: (1) not release to students; (2) include in calculations. Current Behavior:  The item details are: (1) release to students; (2) include in calculations.

      Description

      Discovered this issue when testing SAK-33098.

      Currently, when using site info>import from site to import gradebook items from another site, the item details of each item (including “Release item to students?" and "Include item in course grade calculations?) will be also duplicated correctly. But this only happens when the gradebook item is created within the lessons tool.

      If a gradebook item is created by lesson tool, the default setting for the item is "release item to students" and "include item in course grade calculations" with both boxes checked. The user can change the item details in gradebook tool. When the user unchecks either or both boxes for this item created by lesson tool, saves changes, and imports them into another site, the item details will still be the default setting, not the modified setting.

      For example, if an instructor creates a question and its corresponding gradebook item in lesson tool, item details of this item will be: (1) release to students; (2) include in calculations; by default. Then the instructor changes it to be (1) not release to students; (2) include in calculations; in gradebook tool. After that, the instructor enters another site, imports lesson and gradebook tool from the previous site, and checks the item details of the imported items, it will be (1) release to students; (2) include in calculations, instead of (1) not release to students; (2) include in calculations.

      The reason might be that when importing gradebook items created by lesson tool, the site actually copies lesson tool first and then creates a new gradebook item from that lesson tool rather than directly copying the gradebook item from gradebook tool. Therefore, item details will be the default values.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                maintenanceteam Core Team
                Reporter:
                fyin2 Fangcong Yin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration