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

Lessons, Rubrics: When a linked assignment contains a rubric, student is unable to preview rubric

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Won't Fix
    • Test Plan:
      Hide
      1. Add rubrics, assignments and lessons to your site
      2. Create a rubric
      3. Create an assignment and attach the rubric
      4. Click on Lessons -> Add Content
      5. Select the assignment created
      6. As the student, use Firefox
      7. Click on Lessons -> Assignment
      8. Click the preview button for the rubric

      Expected: the preview button and rubric should display

      Current: assignments - only the "X" to close the rubric displays

       

      Show
      Add rubrics, assignments and lessons to your site Create a rubric Create an assignment and attach the rubric Click on Lessons -> Add Content Select the assignment created As the student, use Firefox Click on Lessons -> Assignment Click the preview button for the rubric Expected: the preview button and rubric should display Current: assignments - only the "X" to close the rubric displays  

      Description

      Win10: Firefox 72.0.2 (64-bit)

      If the instructor creates an assignment with a rubric and links it in Lessons, when the student clicks Preview, only the "X" to close the rubric displays. (Verified if the student goes straight to the assignment, the rubric does display.) There are console errors.

      Console error for linked assignment:

      Firefox 21x, 20x: Preview button is there but rubric does not display
      TypeError: this._attributeToProperty is not a functionupdating-element.ts:503:2
      attributeChangedCallback updating-element.ts:503
      attributeChangedCallback sakai-rubric-student.js:37
      showRubric sakai-rubrics-utils.js:140
      showRubric sakai-rubric-student-preview-button.js:76
      handleEvent parts.ts:480
      __boundHandleEvent parts.ts:438

       

      20x site: https://qa20-mysql.nightly.sakaiproject.org/portal/site/3b31c605-827a-4a9f-ab98-cb2acced7776

      Update 2 March 2020:

      Chrome: 80.0.3987.122 (Official Build) (64-bit)
      Edge: 80.0.361.62 (Official build) (64-bit)
      Firefox: 73.0.1 (64-bit)

      Chrome and Edge are now affected also on 20x and 21x. 19x is down right now, but I suspect it is also affected since several rubrics Jiras were merged.

      Firefox is still displaying the TypeError: this._attributeToProperty is not a function message, but Chrome and (new) Edge are displaying 

       sakai-rubric-criterion-preview.js:33 Uncaught (in promise) ReferenceError: portal is not defined
      at sakai-rubric-criterion-preview.js:33

      Possibly this has something to do with SAK-42545? Attaching error from Chrome.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration