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

pgrade.php --is-pending can exit with code 0 during failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Administration
    • None
    • MOODLE_405_STABLE

      Eg when running:

      php admin/cli/upgrade.php --is-pending

      It can fail with:

      Outdated component cache file defined in $CFG->alternative_component_cache, can not continue

      ===== Exit Code ===== 0

      This is calling die() and it should probably throw an exception instead and be handled correctly

       

       

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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