Reviewed:  https://reviews.mahara.org/9999
Committed: 
https://git.mahara.org/mahara/mahara/commit/366c905b20ea7f41957178f46cc70070925033d0
Submitter: Cecilia Vela Gurovic (cecili...@catalyst.net.nz)
Branch:    18.10_STABLE

commit 366c905b20ea7f41957178f46cc70070925033d0
Author: Robert Lyon <robe...@catalyst.net.nz>
Date:   Wed May 8 14:15:32 2019 +1200

Bug 1828141: Create a new institution correctly

Need the default settings be interger rather than true/false

behatnotneeded

Change-Id: I65a032e3a5b1cf363b6f0ebcc6c7f5a3b30c2f34
Signed-off-by: Robert Lyon <robe...@catalyst.net.nz>
(cherry picked from commit e3171960e78e701446eaf15a6dc548e5ebb5c8f0)
(cherry picked from commit 883bb2cbc9790eaf2ab2c54b8687685c555f64ca)

-- 
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 Committed
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

_______________________________________________
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