← Back to team overview

mahara-contributors team mailing list archive

[Bug 1648636] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7363
Committed: https://git.mahara.org/mahara/mahara/commit/b97aa531c0812e6ac8bc4dc9f100b9b5b775ca78
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit b97aa531c0812e6ac8bc4dc9f100b9b5b775ca78
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Fri Dec 23 09:11:12 2016 +1300

Bug 1648636: Error message fix, connection manager

Fix for error when trying to add a connection with an
empty string.
Select and add button should not be displayed when
there are no client connections for the institution.

behatnotneeded

Change-Id: Ib90511512c91941b59bef0df19fedd3810fc0fc6

-- 
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/1648636

Title:
  Connection manager, add connection with empty string error

Status in Mahara:
  Fix Committed

Bug description:
  In screen webservice/admin/connections.php
  when trying to add a connection with an empty string an error "Mahara: Site unavailable" is displayed

  with warnings

  [WAR] c9 (webservice/admin/addconnection.php:32) Undefined offset: 1
  Call stack (most recent first):

      log_message("Undefined offset: 1", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/webservic...", 32) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521
      error(8, "Undefined offset: 1", "/home/ceciliavg/maharacode/mahara/htdocs/webservic...", 32, array(size 64)) at /home/ceciliavg/maharacode/mahara/htdocs/webservice/admin/addconnection.php:32

  [WAR] c9 (webservice/admin/addconnection.php:32) Undefined offset: 2
  Call stack (most recent first):

      log_message("Undefined offset: 2", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/webservic...", 32) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521
      error(8, "Undefined offset: 2", "/home/ceciliavg/maharacode/mahara/htdocs/webservic...", 32, array(size 64)) at /home/ceciliavg/maharacode/mahara/htdocs/webservice/admin/addconnection.php:32

  [WAR] c9 (lib/mahara.php:1511) "" is not a valid plugin type
  Call stack (most recent first):

      safe_require("", "") at
  /home/ceciliavg/maharacode/mahara/htdocs/webservice/admin/addconnection.php:59

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


References