← Back to team overview

mahara-contributors team mailing list archive

[Bug 1337614] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3479
Committed: http://gitorious.org/mahara/mahara/commit/0fd7979e9449ab9b8c2ea202d0c79d0aa1fa5549
Submitter: Ghada El-Zoghbi (ghada@xxxxxxxxxxxxxxx)
Branch:    master

commit 0fd7979e9449ab9b8c2ea202d0c79d0aa1fa5549
Author: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>
Date:   Thu Jul 10 12:10:43 2014 +1000

(Bug 1337614) Fix forum topic deletion error message.

The objectional material refactoring removed the reported field
from the interaction_forum_post table. Update the code for deleting
topics and posts to match.

Change-Id: I77c7d9e80828174532cdc03c4aeb115b2602ef66
Signed-off-by: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>

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

Title:
  Deleting a forum topic works but reports an error

Status in Mahara ePortfolio:
  In Progress

Bug description:
  While testing another bug (#1271240), I decided to delete the topic
  (while running 1.10dev) and received the following call trace:

      log_message("Undefined property: stdClass::$reported", 8, true, true, "/home/nigelc/Programming/mahara/htdocs/interaction...", 89) at /home/nigelc/Programming/mahara/htdocs/lib/errors.php:433
      error(8, "Undefined property: stdClass::$reported", "/home/nigelc/Programming/mahara/htdocs/interaction...", 89, array(size 6)) at /home/nigelc/Programming/mahara/htdocs/interaction/forum/deletetopic.php:89
      deletetopic_submit(object(Pieform), array(size 3)) at Unknown:0
      call_user_func_array("deletetopic_submit", array(size 2)) at /home/nigelc/Programming/mahara/htdocs/lib/pieforms/pieform.php:527
      Pieform->__construct(array(size 4)) at /home/nigelc/Programming/mahara/htdocs/lib/pieforms/pieform.php:162
      Pieform::process(array(size 4)) at /home/nigelc/Programming/mahara/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 4)) at /home/nigelc/Programming/mahara/htdocs/interaction/forum/deletetopic.php:83

  The topic was deleted.

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


References