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

Gradebook: console error Failed to execute 'define' on 'CustomElementRegistry'

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Using Chrome, open the browser console
      2. In a site with students, as the instructor, click on Gradebook
        Are there any console errors? 
      3. Leave the site 
      4. Re-enter the site and click Gradebook
        Are there any console errors?
      Show
      Using Chrome, open the browser console In a site with students, as the instructor, click on Gradebook Are there any console errors?  Leave the site  Re-enter the site and click Gradebook Are there any console errors?

      Description

      I saw this before on Chrome (Version 80.0.3987.149 (Official Build) (64-bit)) and it doesn't always display. Not sure what is causing it. I don't see this on Firefox or Edge.

      There are no groups in this site, but there was already one GB item previously created:

      https://trunk-mysql.nightly.sakaiproject.org/portal/site/de487afb-3816-4773-be1d-187bb9c06d56

      Nothing in the server logs.

      (index):1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "sakai-group-picker" has already been used with this registry
      at https://trunk-mysql.nightly.sakaiproject.org/webcomponents/sakai-group-picker.js?version=c0414452:67:16

      After creating a Gradebook item (there was already one item in the GB) :

      21:01:53.375 grades?focusAssignmentId=217&newItem=true:1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "sakai-group-picker" has already been used with this registry
      at https://trunk-mysql.nightly.sakaiproject.org/webcomponents/sakai-group-picker.js?version=c0414452:67:16

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Integration