Public bug reported:

If an external service tries to access webservices with bad token it can
mean logging of error before the institution value is known meaning no
institution is set in external_services_logs table.

So when the Webservices -> Logs page tries to display the logs it fails
as it can't fetch institution name of 'null'.

So we need to fix this so that it displays a placeholder string instead

** Affects: mahara
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Affects: mahara/16.10
     Importance: Medium
         Status: In Progress

** Affects: mahara/17.04
     Importance: Medium
         Status: In Progress

** Affects: mahara/17.10
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

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

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

** Also affects: mahara/17.10
   Importance: Medium
     Assignee: Robert Lyon (robertl-9)
       Status: In Progress

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1708545

Title:
  Webservices logs page broken due to missing institution value

Status in Mahara:
  In Progress
Status in Mahara 16.10 series:
  In Progress
Status in Mahara 17.04 series:
  In Progress
Status in Mahara 17.10 series:
  In Progress

Bug description:
  If an external service tries to access webservices with bad token it
  can mean logging of error before the institution value is known
  meaning no institution is set in external_services_logs table.

  So when the Webservices -> Logs page tries to display the logs it
  fails as it can't fetch institution name of 'null'.

  So we need to fix this so that it displays a placeholder string
  instead

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to