[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-10-24 Thread Cecilia Vela Gurovic
** 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/1773043

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  Fix Released
Status in Mahara 17.10 series:
  Fix Released
Status in Mahara 18.04 series:
  Fix Released
Status in Mahara 18.10 series:
  Fix Released

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 
"/htdocs/auth/user.ph...", 946) at 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-29 Thread Cecilia Vela Gurovic
** Changed in: mahara/17.10
   Status: Fix Committed => Fix Released

** Changed in: mahara/18.04
   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/1773043

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Released
Status in Mahara 18.04 series:
  Fix Released
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Cecilia Vela Gurovic
** Changed in: mahara/17.10
   Status: In Progress => Fix Committed

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 
"/htdocs/auth/user.ph...", 946) 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Cecilia Vela Gurovic
** Changed in: mahara/18.04
   Status: In Progress => Fix Committed

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  In Progress
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 
"/htdocs/auth/user.ph...", 946) at 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Cecilia Vela Gurovic
** Changed in: mahara/18.10
   Status: In Progress => Fix Committed

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  In Progress
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 
"/htdocs/auth/user.ph...", 946) at 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Yaju Mahida
Collections tables records are updated that is sure but not sure about
all the other tables it attempts after throwing this error as didn't
spend much time to investigate this. Assuming this as failed, I thought
moving the upgrade task is a quick & safe bet.

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  In Progress
Status in Mahara 17.10 series:
  In Progress
Status in Mahara 18.04 series:
  In Progress
Status in Mahara 18.10 series:
  In Progress

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Robert Lyon
** Changed in: mahara
   Importance: Undecided => Medium

** Also affects: mahara/18.04
   Importance: Undecided
   Status: New

** Also affects: mahara/17.10
   Importance: Undecided
   Status: New

** Also affects: mahara/18.10
   Importance: Medium
   Status: New

** Changed in: mahara/18.04
   Importance: Undecided => Medium

** Changed in: mahara/17.10
   Importance: Undecided => Medium

** Changed in: mahara/18.10
Milestone: None => 18.10.0

** Changed in: mahara/18.04
Milestone: None => 18.04.1

** Changed in: mahara/17.10
Milestone: None => 17.10.5

** Changed in: mahara/18.10
   Status: New => In Progress

** Changed in: mahara/18.04
   Status: New => In Progress

** Changed in: mahara/17.10
   Status: New => In Progress

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  In Progress
Status in Mahara 17.10 series:
  In Progress
Status in Mahara 18.04 series:
  In Progress
Status in Mahara 18.10 series:
  In Progress

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Yaju Mahida
Sounds good

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  In Progress
Status in Mahara 17.10 series:
  In Progress
Status in Mahara 18.04 series:
  In Progress
Status in Mahara 18.10 series:
  In Progress

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 
"/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521
  error(8, "Undefined property: 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-27 Thread Robert Lyon
Hi Yaju Mahida,

Moving things around in the DB upgrade is not a good idea as can cause other 
problems - a better fix is to check for logoxs, eg  
isset($institutions[$themeinstitution]->logoxs) see the patch I made
https://reviews.mahara.org/#/c/8900/

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  New

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 

[Mahara-contributors] [Bug 1773043] Re: Undefined property: stdClass::$logoxs due to wrong order of the upgrade tasks (upgrading from 16.10.9 to 17.10.4)

2018-05-23 Thread Yaju Mahida
** Patch added: "Bug-1773043.patch"
   
https://bugs.launchpad.net/mahara/+bug/1773043/+attachment/5143560/+files/Bug-1773043.patch

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

Title:
  Undefined property: stdClass::$logoxs due to wrong order of the
  upgrade tasks (upgrading from 16.10.9 to 17.10.4)

Status in Mahara:
  New

Bug description:
  We are working on upgrading from 16.10.9 to 17.10.4 (skipping 17.04
  release) and noticed that the upgrade task "Realease all collections
  that are still submitted but to a deleted group" throws numerous
  warnings about undefined property $logoxs as it tries to update
  affected collections records and can't find logoxs column as it is not
  yet added in our case!

  [Tue Apr 24 15:54:57.831640 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [DBG] b8 (lib/db/upgrade.php:4822) Realease all collections 
that are still submitted but to a deleted group, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949311 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949344 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] Call stack (most recent first):, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949347 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * log_message("Undefined property: stdClass::$logoxs", 8, 
true, true, "/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949349 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * error(8, "Undefined property: stdClass::$logoxs", 
"/htdocs/auth/user.ph...", 946, array(size 12)) at /htdocs/auth/user.php:946, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949351 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->reset_institutions() at 
/htdocs/auth/user.php:119, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949353 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * User->find_by_id("10896") at /htdocs/lib/view.php:858, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949355 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->get_owner_object() at /htdocs/lib/view.php:2974, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949357 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View->is_staff_or_admin_for_page() at 
/htdocs/lib/view.php:5566, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949359 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * View::get_extra_view_info(array(size 7), false, false) 
at /htdocs/lib/collection.php:616, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949361 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->views() at /htdocs/lib/collection.php:1195, 
referer: https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949363 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->get_viewids() at 
/htdocs/lib/collection.php:1141, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949365 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * Collection->release() at 
/htdocs/lib/db/upgrade.php:4831, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949405 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * xmldb_core_upgrade("2016090236") at 
/htdocs/lib/upgrade.php:347, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949453 2018] [:error] [pid 2181] [client 
172.28.128.1:61016]   * upgrade_core(object(stdClass)) at 
/htdocs/admin/upgrade.json.php:87, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.949469 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] , referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS
  [Tue Apr 24 15:54:59.954950 2018] [:error] [pid 2181] [client 
172.28.128.1:61016] [WAR] b8 (auth/user.php:946) Undefined property: 
stdClass::$logoxs, referer: 
https://localhost/admin/upgrade.php?urlsecret=WhoKnOwS

  
  Call stack (most recent first):
  log_message("Undefined property: stdClass::$logoxs", 8, true, true, 
"/htdocs/auth/user.ph...", 946) at /htdocs/lib/errors.php:521
  error(8, "Undefined property: stdClass::$logoxs",