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

Update language pack installs / updates to run asynchronously to avoid timeouts when multiple are used

XMLWordPrintable

    • MOODLE_310_STABLE
    • MOODLE_311_STABLE
    • MDL-70608-master-langimportasync
    • Hide

      Prerequisites

      • Ability to run ad hoc tasks on demand, e.g. via admin/cli/adhoc_task.php CLI script

      Instructions

      1. Log in as the site administrator
      2. Go to Site administration > Language > Language packs
      3. Attempt to install multiple language pack at once
      4. TEST Check that selected language packs are reported to be installed soon
      5. Execute ad hoc tasks
      6. Go to Site administration > Language > Language packs again
      7. TEST Check that selected language packs are installed now
      Show
      Prerequisites Ability to run ad hoc tasks on demand, e.g. via admin/cli/adhoc_task.php CLI script Instructions Log in as the site administrator Go to Site administration > Language > Language packs Attempt to install multiple language pack at once TEST Check that selected language packs are reported to be installed soon Execute ad hoc tasks Go to Site administration > Language > Language packs again TEST Check that selected language packs are installed now

      tsala and me are experiencing this pretty frequently on Moodle community sites that have multiple language packs installed. Installing multiple language packs can take significant amount of time and lead to server timeouts.

      I am going to improve the language packs installation tool so that it installs and updates language packs asynchronously in the background.

        1. MDL-70608.jpg
          MDL-70608.jpg
          31 kB
        2. screenshot-1.png
          screenshot-1.png
          46 kB
        3. screenshot-2.png
          screenshot-2.png
          12 kB
        4. screenshot-3.png
          screenshot-3.png
          16 kB
        5. screenshot-4.png
          screenshot-4.png
          18 kB
        6. screenshot-5.png
          screenshot-5.png
          54 kB

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            Victor Déniz Falcón Victor Déniz Falcón
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 40 minutes
                5h 40m

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