← Back to team overview

mahara-contributors team mailing list archive

[Bug 1828141] Re: Creating a new institution with minimal info fails to save

 

** Changed in: mahara/18.10
       Status: Fix Committed => Fix Released

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

Title:
  Creating a new institution with minimal info fails to save

Status in Mahara:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Released
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed

Bug description:
  When we do something like:

      $name = 'My new institution';
      $institution = institution_generate_name($name);
      $newinstitution = new Institution();
      $newinstitution->initialise($institution, $name);
      $newinstitution->commit();

  It should create us a new institution - but instead we get an sql
  error complaining that the 'tags' column is not an integer

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


References