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

Gradebook Classic is not listed in tools to import in Site Info -> Import from site

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.6
    • Fix Version/s: 12.7
    • Component/s: Gradebook Classic
    • Labels:
      None
    • Test Plan:
      Hide
      1. in the original site, add assignments to Gradebook classic
      2. Test Site Info -> Import from site
      3. Select Gradebook Classic
      4. Does the gradebook classic tool and it's assignments get imported?
      1. In a site that has both Gradebook Classic and GradebookNG
      2. Test Site Info -> Import from site
      3. Select Gradebook Classic AND GradebookNG
      4. Only one copy of the gradebook assignments should appear in each of the gradebook tools
      1. In a site that has both Gradebook Classic and GradebookNG
      2. Test Site Info -> Duplicate Site
      3. Only one copy of the gradebook assignments should appear in each of the gradebook tools
      1. Create a site template that has both Gradebook Classic and GradebookNG
      2. add gradebook assignments (using either classic or ng)
      3. Create a new site from the template
      4. Only one copy of the gradebook assignments should appear in each of the gradebook tools
      Show
      in the original site, add assignments to Gradebook classic Test Site Info -> Import from site Select Gradebook Classic Does the gradebook classic tool and it's assignments get imported? In a site that has both Gradebook Classic and GradebookNG Test Site Info -> Import from site Select Gradebook Classic AND GradebookNG Only one copy of the gradebook assignments should appear in each of the gradebook tools In a site that has both Gradebook Classic and GradebookNG Test Site Info -> Duplicate Site Only one copy of the gradebook assignments should appear in each of the gradebook tools Create a site template that has both Gradebook Classic and GradebookNG add gradebook assignments (using either classic or ng) Create a new site from the template Only one copy of the gradebook assignments should appear in each of the gradebook tools

      Description

      Gradebook Classic is not listed in tools to import in Site Info -> Import from site

      Setup

      • in sakai.properties uncomment or remove sakai.gradebook.tool from
        stealthTools@org.sakaiproject.tool.api.ActiveToolManager=
        

        you need to uncomment it and not include sakai.gradebook.tool because it's stealthed by default in kernel.properties. so by uncommenting and leaving it blank (or removing the tool id) from sakai.properties, we overridding the property in kernel.properties

      Steps

      1. go to Site Info
      2. click Import from site
      3. choose a site that has Gradebook Classic
      4. the list of tools to import does not include Gradebook Classic

      After debugging the code, it looks like it might not be displayed because it isn't in the list of entity producers? But that's as far as I got. I'm not familiar enough with the code that generates the entity producers. But I suspect that this is due to

      SAK-33857 Remove useless code in GradebookService

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  austinUH Austin
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration