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

The curious case of opcode cache breaking some tests...

XMLWordPrintable

    • MOODLE_34_STABLE

      Just pointing to MDL-60656, where 2 strange errors were happening:

      • Alert error with text An error occurred when attempting to save your tick mark. (.)

      Running the features @ {badges/tests/behat/award_badge.feature}}.

      Apart from where it happens, and the error itself... others were unable to reproduce the problem. Comparing php -m installed stuff the problem was narrowed to having/not having opcode cache installed.

      So, with PHP 7.2 (rc5) (not tested if also happens with other PHP versions):

      • With opcache php module installed behat passes.
      • Without it, the feature above throws 2 errors (alerts).

      Worth investigating, but not critical for releasing...

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.