← Back to team overview

mahara-contributors team mailing list archive

[Bug 1646284] [NEW] Warning messages while deleting the groups

 

Public bug reported:

Version: 17:04
Browser: FF, chrome

Steps to rreproduce:

1) Create a group
2)Add a page inside the group
3)Add a text into the page 
4)Add a new note into the page and save
5)Now delete the group

Expected result: Page should be deleted without any error
Actual resu;t: Page gets deleted but a warnign message is displayed. see below

Call stack (most recent first):
log_message("call_user_func_array() expects parameter 1 to be a...", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/lib/mahara....", 1757) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
error(2, "call_user_func_array() expects parameter 1 to be a...", "/home/niranjanbandi/code/mahara/htdocs/lib/mahara....", 1757, array(size 3)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1757
call_static_method("ArtefactTypeHtml", "bulk_delete", array(size 1)) at /home/niranjanbandi/code/mahara/htdocs/artefact/lib.php:763
ArtefactType::delete_by_artefacttype(array(size 1)) at /home/niranjanbandi/code/mahara/htdocs/lib/group.php:801
group_delete(20) at /home/niranjanbandi/code/mahara/htdocs/group/delete.php:54
deletegroup_submit(object(Pieform), array(size 2)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
Pieform->__construct(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
Pieform::process(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4799
pieform(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/group/delete.php:41

** Affects: mahara
     Importance: Undecided
     Assignee: Cecilia Vela Gurovic (ceciliavg)
         Status: 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/1646284

Title:
  Warning messages while deleting the groups

Status in Mahara:
  In Progress

Bug description:
  Version: 17:04
  Browser: FF, chrome

  Steps to rreproduce:

  1) Create a group
  2)Add a page inside the group
  3)Add a text into the page 
  4)Add a new note into the page and save
  5)Now delete the group

  Expected result: Page should be deleted without any error
  Actual resu;t: Page gets deleted but a warnign message is displayed. see below

  Call stack (most recent first):
  log_message("call_user_func_array() expects parameter 1 to be a...", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/lib/mahara....", 1757) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
  error(2, "call_user_func_array() expects parameter 1 to be a...", "/home/niranjanbandi/code/mahara/htdocs/lib/mahara....", 1757, array(size 3)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1757
  call_static_method("ArtefactTypeHtml", "bulk_delete", array(size 1)) at /home/niranjanbandi/code/mahara/htdocs/artefact/lib.php:763
  ArtefactType::delete_by_artefacttype(array(size 1)) at /home/niranjanbandi/code/mahara/htdocs/lib/group.php:801
  group_delete(20) at /home/niranjanbandi/code/mahara/htdocs/group/delete.php:54
  deletegroup_submit(object(Pieform), array(size 2)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
  Pieform->__construct(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
  Pieform::process(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4799
  pieform(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/group/delete.php:41

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


Follow ups