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

Lessons-cc import: console errors for images that are now links instead of inline

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Add Lessons to a new site
      2. Import the attached file
      3. Open the browser console
      4. Click on the imported Lessons
      5. Click one of the image links on the main page

      OR

      1. Create your own Lessons page
      2. Add embedded content
      3. Select an image - image displays in page
      4. Click More Tools > Export CC
      5. Follows steps 2-5 from above

       

      Show
      Add Lessons to a new site Import the attached file Open the browser console Click on the imported Lessons Click one of the image links on the main page OR Create your own Lessons page Add embedded content Select an image - image displays in page Click More Tools > Export CC Follows steps 2-5 from above  

      Description

      The link vs embedded content is covered in SAK-43883. On 20x, there are console errors displaying for the "linked" images (that are embedded content in the original site) that make no sense:

      Site: https://qa20-mysql.nightly.sakaiproject.org/portal/site/b6cedd54-25e9-4f76-932e-e9b1f9034155

      Click Lessons-old-qp-import

      The main page has 2 images

      Console errors:

      Chrome:

      20:13:57.744 ShowItem?returnView=&studentItemId=0&backPath=&bltiAppStores=false&errorMessage=&clearAttr=&messageId=&source=&title=&sendingPage=231&newTopLevel=false&postedComment=false&path=&addBefore=&itemId=1065&topicId=&addTool=-1&recheck=&id=&forumId=:98 GET https://qa20-mysql.nightly.sakaiproject.org/rubrics-service/webcomponents/sakai-rubric-student.js?version=107681da net::ERR_ABORTED 404
      20:13:57.750 ShowItem?returnView=&studentItemId=0&backPath=&bltiAppStores=false&errorMessage=&clearAttr=&messageId=&source=&title=&sendingPage=231&newTopLevel=false&postedComment=false&path=&addBefore=&itemId=1065&topicId=&addTool=-1&recheck=&id=&forumId=:99 GET https://qa20-mysql.nightly.sakaiproject.org/rubrics-service/webcomponents/sakai-rubrics-utils.js?version=107681da net::ERR_ABORTED 404

      Firefox:
      20:11:48.089 Loading module from "https://qa20-mysql.nightly.sakaiproject.org/rubrics-service/webcomponents/sakai-rubric-student.js?version=107681da" was blocked because of a disallowed MIME type ("application/json").
      20:11:48.100 The resource from "https://qa20-mysql.nightly.sakaiproject.org/rubrics-service/webcomponents/sakai-rubrics-utils.js?version=107681da" was blocked due to MIME type ("application/json") mismatch (X-Content-Type-Options: nosniff).

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration