Activity log for bug #1859118

Date Who What changed Old value New value Message
2020-01-10 03:48:53 Ghada El-Zoghbi bug added bug
2020-01-10 03:49:15 Ghada El-Zoghbi description Mahara: 19.10.1 (2019093009) OS: Linux 18.04 DB: Postgres Browser: FF If an institution has pages to be copied to users upon creation and those pages are of the old format, an error is generated when trying to copy the page to the new user: Jan 10 14:12:34 prod: 2020/01/10 14:12:34 [error] 227 #227: *389810 FastCGI sent in stderr: "PHP message: [WAR] 3e (lib/gridstacklayout.php:60) Undefined index: width #012PHP message: Call stack (most recent first): #012PHP message: * log_message(string(size 22), integer, true, true, string(size 37), integer) at /var/www/site/lib/errors.php:521 #012PHP message: * error(integer, string(size 22), string(size 37), integer, array(size 9)) at /var/www/site/lib/gridstacklayout.php:60 #012PHP message: * translate_to_new_layout(array(size 4)) at /var/www/site/lib/view.php:5929 #012PHP message: * View->copy_contents(object(View), array(size 0)) at /var/www/site/lib/view.php:458 #012PHP message: * View::create_from_template(array(size 5), string(size 5), string(size 5), false, false, array(size 0)) at /var/www/site/lib/collection.php:349 #012PHP message: * Collection::create_from_template(array(size 2), string(size 5), string(size 5), false) at /var/www/site/auth/user.php:1540 #012PHP message: * User->copy_collections(array(size 8), false) at /var/www/site/auth/user.php:1602 #012PHP message: * User->copy_institution_views_collections_to_new_member(string(size 16)) at /var/www/site/lib/institution.php:360 #012PHP message: * Institution->addUserAsMember(object(stdClass), null, null) at /var/www/site/lib/user.php:2622 #012PHP message: * create_user(object(stdClass), array(size 0), object(Institution), false, null, array(size 27)) at /var/www/site/admin/users/add.php:320 #012PHP message: * adduser_submit(object(Pieform), array(size 27)) at /var/www/site/lib/pieforms/pieform.php:546 #012PHP message: * Pieform->__construct(array(size 8)) at /var/www/site/lib/pieforms/pieform.php:168 #012PHP message: * Pieform::process(array(size 8)) at /var/www/site/lib/mahara.php:5432 #012PHP message: * pieform(array(size 8)) at /var/www/site/admin/users/add.php:156 #012PHP message: #012PHP message: [WAR] 3e (lib/gridstacklayout.php:73) Undefined index: width #012PHP message: Call stack (most recent first): #012PHP message: * log_message(string(size 22), integer, true, true, string(size 37), integer) at /var/w The issue is: <b>(lib/gridstacklayout.php:60) Undefined index: width</b> <- translate_to_new_layout() doesn't find a relevant column in the row (i.e. that column is empty) and is trying to add the width of that column. Mahara: 19.10.1 (2019093009) OS: Linux 18.04 DB: Postgres Browser: FF If an institution has pages to be copied to users upon creation and those pages are of the old format, an error is generated when trying to copy the page to the new user: Jan 10 14:12:34 prod: 2020/01/10 14:12:34 [error] 227 #227: *389810 FastCGI sent in stderr: "PHP message: [WAR] 3e (lib/gridstacklayout.php:60) Undefined index: width #012PHP message: Call stack (most recent first): #012PHP message: * log_message(string(size 22), integer, true, true, string(size 37), integer) at /var/www/site/lib/errors.php:521 #012PHP message: * error(integer, string(size 22), string(size 37), integer, array(size 9)) at /var/www/site/lib/gridstacklayout.php:60 #012PHP message: * translate_to_new_layout(array(size 4)) at /var/www/site/lib/view.php:5929 #012PHP message: * View->copy_contents(object(View), array(size 0)) at /var/www/site/lib/view.php:458 #012PHP message: * View::create_from_template(array(size 5), string(size 5), string(size 5), false, false, array(size 0)) at /var/www/site/lib/collection.php:349 #012PHP message: * Collection::create_from_template(array(size 2), string(size 5), string(size 5), false) at /var/www/site/auth/user.php:1540 #012PHP message: * User->copy_collections(array(size 8), false) at /var/www/site/auth/user.php:1602 #012PHP message: * User->copy_institution_views_collections_to_new_member(string(size 16)) at /var/www/site/lib/institution.php:360 #012PHP message: * Institution->addUserAsMember(object(stdClass), null, null) at /var/www/site/lib/user.php:2622 #012PHP message: * create_user(object(stdClass), array(size 0), object(Institution), false, null, array(size 27)) at /var/www/site/admin/users/add.php:320 #012PHP message: * adduser_submit(object(Pieform), array(size 27)) at /var/www/site/lib/pieforms/pieform.php:546 #012PHP message: * Pieform->__construct(array(size 8)) at /var/www/site/lib/pieforms/pieform.php:168 #012PHP message: * Pieform::process(array(size 8)) at /var/www/site/lib/mahara.php:5432 #012PHP message: * pieform(array(size 8)) at /var/www/site/admin/users/add.php:156 #012PHP message: #012PHP message: [WAR] 3e (lib/gridstacklayout.php:73) Undefined index: width #012PHP message: Call stack (most recent first): #012PHP message: * log_message(string(size 22), integer, true, true, string(size 37), integer) at /var/w The issue is: (lib/gridstacklayout.php:60) Undefined index: width <- translate_to_new_layout() doesn't find a relevant column in the row (i.e. that column is empty) and is trying to add the width of that column.
2020-01-14 22:38:46 Kristina Hoeppner summary Gridstack Layout Converstion Error During New User Creation Gridstack layout conversion error during new user creation
2020-01-14 22:39:02 Kristina Hoeppner nominated for series mahara/19.10
2020-01-14 22:39:02 Kristina Hoeppner bug task added mahara/19.10
2020-01-14 22:39:02 Kristina Hoeppner nominated for series mahara/20.04
2020-01-14 22:39:02 Kristina Hoeppner bug task added mahara/20.04
2020-01-14 22:39:15 Kristina Hoeppner mahara/20.04: status New In Progress
2020-01-14 22:39:17 Kristina Hoeppner mahara/19.10: status New Confirmed
2020-01-14 22:39:18 Kristina Hoeppner mahara/20.04: importance Undecided High
2020-01-14 22:39:20 Kristina Hoeppner mahara/19.10: importance Undecided High
2020-01-14 22:39:22 Kristina Hoeppner mahara/20.04: milestone 20.04.0
2020-01-14 22:39:24 Kristina Hoeppner mahara/19.10: milestone 19.10.2
2020-01-20 22:43:21 Cecilia Vela Gurovic mahara/19.10: milestone 19.10.2
2020-01-20 22:43:23 Cecilia Vela Gurovic mahara/20.04: milestone 20.04.0
2020-09-05 07:16:40 Kristina Hoeppner bug task deleted mahara
2020-09-08 00:35:37 Cecilia Vela Gurovic mahara/20.04: status In Progress Invalid
2020-09-08 00:35:39 Cecilia Vela Gurovic mahara/19.10: status Confirmed Invalid