Public bug reported:

When I'm on MySQL 8, I get a JavaScript console error when trying to add
an image to a group dashboard. This doesn't happen in Postgres.

The error is:

Uncaught Error: Invalid `previewsContainer` option provided. Please provide a 
CSS selector or a plain HTML element.
    getElement https://URL/js/dropzone/dropzone.min.js?v=7177:1
    i https://URL/js/dropzone/dropzone.min.js?v=7177:1
    <anonymous> Angular
    jQuery 13
        e
        t
        setTimeout handler*Deferred/then/l/<
        c
        fireWith
        fire
        c
        fireWith
        ready
        B
        EventListener.handleEvent*
        <anonymous>
        <anonymous>

---

To replicate:

1. Mahara main with MySQL 8
2. Set up a group and edit the group homepage.
3. Add an 'Image' block and upload an image into the group files area.
4. Try to save the page -> it keeps spinning and the console shows the above 
error message.

** Affects: mahara
     Importance: Medium
         Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1983065

Title:
  JS console error for dropzone using MySQL

Status in Mahara:
  Confirmed

Bug description:
  When I'm on MySQL 8, I get a JavaScript console error when trying to
  add an image to a group dashboard. This doesn't happen in Postgres.

  The error is:

  Uncaught Error: Invalid `previewsContainer` option provided. Please provide a 
CSS selector or a plain HTML element.
      getElement https://URL/js/dropzone/dropzone.min.js?v=7177:1
      i https://URL/js/dropzone/dropzone.min.js?v=7177:1
      <anonymous> Angular
      jQuery 13
          e
          t
          setTimeout handler*Deferred/then/l/<
          c
          fireWith
          fire
          c
          fireWith
          ready
          B
          EventListener.handleEvent*
          <anonymous>
          <anonymous>

  ---

  To replicate:

  1. Mahara main with MySQL 8
  2. Set up a group and edit the group homepage.
  3. Add an 'Image' block and upload an image into the group files area.
  4. Try to save the page -> it keeps spinning and the console shows the above 
error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1983065/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to