← Back to team overview

mahara-contributors team mailing list archive

[Bug 1896146] [NEW] styleguide.php error logs in browser console

 

Public bug reported:

to replicate:

Load theme/styleguide.php in the browser

in the console there will be at least 8 error messages complaining that
a file could not be found. I've attached an image of the errors.

These are not actually errors because something is missing but are
related to the way we display the examples in the styleguide.

In the html, each example on an style element will be repeated twice. Once to display the element and how it's supposed to look like and the the second one will be the code to copy.
We need to find out why the second option is trying to download the file.

** Affects: mahara
     Importance: Low
         Status: Confirmed

** Attachment added: "Screenshot from 2020-09-18 11-28-29.png"
   https://bugs.launchpad.net/bugs/1896146/+attachment/5411972/+files/Screenshot%20from%202020-09-18%2011-28-29.png

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1896146

Title:
  styleguide.php error logs in browser console

Status in Mahara:
  Confirmed

Bug description:
  to replicate:

  Load theme/styleguide.php in the browser

  in the console there will be at least 8 error messages complaining
  that a file could not be found. I've attached an image of the errors.

  These are not actually errors because something is missing but are
  related to the way we display the examples in the styleguide.

  In the html, each example on an style element will be repeated twice. Once to display the element and how it's supposed to look like and the the second one will be the code to copy.
  We need to find out why the second option is trying to download the file.

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