Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-3709

TeX filter pix.php cannot display errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.9
    • Component/s: Filters
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      filters/tex/pix.php

      The above script goes to a lot of trouble to generate diagnostic error messages if something goes wrong. However, the code's purpose is to return a graphic (ie, it's called from an img tag). So if the help is generated it is never seen.

      The fix I have seen for this before is to produce a static image with the help text, and return that if an error occurs.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08