Patch for "20.04_STABLE" branch: https://reviews.mahara.org/10897
-- 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/1870989 Title: Warning produced when trying to copy a group page Status in Mahara: Fix Committed Bug description: A warning message is produced when trying to copy a group page from the "Administer Groups" page. [WAR] 84 (lib/adodb/adodb-exceptions.inc.php:45) Array to string conversion Call stack (most recent first): log_message("Array to string conversion", 8, true, true, "/home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb...", 45) at /home/lisaseeto/code/mahara/htdocs/lib/errors.php:521 error(8, "Array to string conversion", "/home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb...", 45, array(size 7)) at /home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb-exceptions.inc.php:45 ADODB_Exception->__construct("postgres8", "adodb_throw", -1, "ERROR: update or delete on table "block_instance"...", "DELETE FROM "block_instance" WHERE "view" = ? ", array(size 1), object(ADODB_postgres8)) at /home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb-exceptions.inc.php:80 adodb_throw("postgres8", "adodb_throw", -1, "ERROR: update or delete on table "block_instance"...", "DELETE FROM "block_instance" WHERE "view" = ? ", array(size 1), object(ADODB_postgres8)) at /home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb.inc.php:310 ADODB_TransMonitor("postgres8", "adodb_throw", -1, "ERROR: update or delete on table "block_instance"...", "DELETE FROM "block_instance" WHERE "view" = ? ", array(size 1), object(ADODB_postgres8)) at /home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb.inc.php:1281 ADOConnection->_Execute("DELETE FROM "block_instance" WHERE "view" = ? ", array(size 1)) at /home/lisaseeto/code/mahara/htdocs/lib/adodb/adodb.inc.php:1241 ADOConnection->Execute("DELETE FROM "block_instance" WHERE "view" = ? ", array(size 1)) at /home/lisaseeto/code/mahara/htdocs/lib/dml.php:1041 delete_records("block_instance", "view", "54") at /home/lisaseeto/code/mahara/htdocs/lib/group.php:3121 group_copy(1, "adminlist") at /home/lisaseeto/code/mahara/htdocs/group/copy.php:42 [WAR] 84 (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-1: ERROR: update or delete on table "block_instance" violates foreign key constraint "blocinstdime_blo_fk" on table "block_instance_dimension" DETAIL: Key (id)=(219) is still referenced from table "block_instance_dimension".] in adodb_throw(DELETE FROM "block_instance" WHERE "view" = ? , Array)Command was: DELETE FROM "block_instance" WHERE "view" = ? and values was (0:54) Steps: Have a site with at least one group. Log in as admin 1/ From main menu select Groups -> Administer Groups 2/ In the list select "Copy" Expected results: You are able to continue the copying a page process Actual results: A warning message is produced (see attachment) To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1870989/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

