← Back to team overview

mahara-contributors team mailing list archive

[Bug 1996472] [NEW] Respect the 'do not send stats' when not in production mode

 

Public bug reported:

When you create a site when " $cfg->productionmode = false; " you can't register the site with Mahara.org (which is correct).
And if you change the site to  " $cfg->productionmode = true; " you can register with Mahara.org (again this correct).
But if you then set the site back to " $cfg->productionmode = false; " it will continue to send registration data (this is not correct).

We need a check to see what mode the site is in before sending the data
and only do it if the site is currently in production mode.

** Affects: mahara
     Importance: High
         Status: In Progress

** Affects: mahara/21.10
     Importance: High
         Status: Confirmed

** Affects: mahara/22.04
     Importance: High
         Status: Confirmed

** Affects: mahara/22.10
     Importance: High
         Status: Confirmed

** Affects: mahara/23.04
     Importance: High
         Status: In Progress

** Also affects: mahara/23.04
   Importance: Undecided
       Status: New

** Also affects: mahara/21.10
   Importance: Undecided
       Status: New

** Also affects: mahara/22.10
   Importance: Undecided
       Status: New

** Also affects: mahara/22.04
   Importance: Undecided
       Status: New

** Changed in: mahara/23.04
    Milestone: None => 23.04.0

** Changed in: mahara/22.10
    Milestone: None => 22.10.1

** Changed in: mahara/22.04
    Milestone: None => 22.04.4

** Changed in: mahara/21.10
    Milestone: None => 21.10.6

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

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

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

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

** Changed in: mahara/23.04
       Status: New => In Progress

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

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

** Changed in: mahara/21.10
       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/1996472

Title:
  Respect the 'do not send stats' when not in production mode

Status in Mahara:
  In Progress
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed
Status in Mahara 23.04 series:
  In Progress

Bug description:
  When you create a site when " $cfg->productionmode = false; " you can't register the site with Mahara.org (which is correct).
  And if you change the site to  " $cfg->productionmode = true; " you can register with Mahara.org (again this correct).
  But if you then set the site back to " $cfg->productionmode = false; " it will continue to send registration data (this is not correct).

  We need a check to see what mode the site is in before sending the
  data and only do it if the site is currently in production mode.

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



Follow ups