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

MDL-33616 causes regression. LaTex shouldn's be called with --halt-on-error parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.8, 2.5.4, 2.6.1
    • Fix Version/s: BACKEND
    • Component/s: Maths filters
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      Description

      MDL-33616 causes regression.
      Adding --halt-on-error breaks some formulas that was rendered normally in 1.9.
      So, courses with complex latex formulas, upgraded from older moodle versions, in some cases will become unusable without visible reason.
      Full story here https://tracker.moodle.org/browse/MDL-33616?focusedCommentId=273757&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-273757
      We should rollback MDL-33616 or add some filter option (e.g. Strict / non strict latex comlilance) to determine if we should use --halt-on-error parameter.

      Testing instructions:
      Enable latex filter
      Try to render $$\operatorname

      {tg}

      x * \operatorname

      {ctg}

      x = 1$$ in latest moodle and compare with moodle 2.2

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: