← Back to team overview

mahara-contributors team mailing list archive

[Bug 1940376] [NEW] Need to adjust the checking for versions from mahara.org so that it only happens less frequently

 

Public bug reported:

When we are on a *dev or *rc version of the site the lib/manualhelp.php
code for creating the help links to the manual does a check by fetching
the the info to find out what is the latest stable version is.

We need to do this in a better way because at the moment it does check
and saves the info to session - so this means all the people who log in
will all make the call (along with the logged out session).

We should save the value after the first fetch in the config.php table,
eg 'latest_stable_version' so that it only gets fetched once on load of
site.

Then updated via normal cron system

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
    Milestone: None => 21.10.0

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

** Changed in: mahara
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1940376

Title:
  Need to adjust the checking for versions from mahara.org so that it
  only happens less frequently

Status in Mahara:
  Confirmed

Bug description:
  When we are on a *dev or *rc version of the site the
  lib/manualhelp.php code for creating the help links to the manual does
  a check by fetching the the info to find out what is the latest stable
  version is.

  We need to do this in a better way because at the moment it does check
  and saves the info to session - so this means all the people who log
  in will all make the call (along with the logged out session).

  We should save the value after the first fetch in the config.php
  table, eg 'latest_stable_version' so that it only gets fetched once on
  load of site.

  Then updated via normal cron system

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1940376/+subscriptions



Follow ups