← Back to team overview

mahara-contributors team mailing list archive

[Bug 922412] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1027
Committed: http://gitorious.org/mahara/mahara/commit/d512d73878052bdaefb7fae0a29ddc0948af78d5
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    master

commit d512d73878052bdaefb7fae0a29ddc0948af78d5
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date:   Wed Feb 1 16:06:06 2012 +1300

    Ensure url of owner is always set in artefactchooser (bug #922412)
    
    The artefact_get_owner_info function did not set a url for site-owned
    artefacts.  Worse, because the $url variable was sometimes left
    unchanged on a loop iteration, site artefacts could end up being
    displayed with the site name linked to an unrelated user profile page,
    or group homepage, for example.
    
    Change-Id: If25038e77b7019b40482bbe06ea4da70dab7a683
    Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/922412

Title:
  Warnings in the logs when dragging a new text block on profile view

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  After opening my profile view in the view editor, I dragged a new text
  block and got the following warnings in my error log:

  ng: 2012/01/27 15:17:15 [error] 2455#0: *122 FastCGI sent in stderr: "[WAR] 72 (lib/view.php:2188) Undefined property: stdClass::$url
  ng: Call stack (most recent first):
  ng:   * log_message("Undefined property: stdClass::$url", 8, true, true, "/home/francois/code/mahara/htdocs/lib/view.php", 2188) at /home/francois/code/mahara/htdocs/lib/errors.php:446
  ng:   * error(8, "Undefined property: stdClass::$url", "/home/francois/code/mahara/htdocs/lib/view.php", 2188, array(size 18)) at /home/francois/code/mahara/htdocs/lib/view.php:2188
  ng:   * View::build_artefactchooser_data(array(size 18), null, null) at /home/francois/code/mahara/htdocs/lib/form/elements/artefactchooser.php:43
  ng:   * pieform_element_artefactchooser(object(Pieform), array(size 17)) at /home/francois/code/mahara/htdocs/lib/pieforms/pieform.php:1376
  ng:   * Pieform->build_element_html(array(size 17)) at /home/francois/code/mahara/htdocs/lib/pieforms/pieform.php:657
  ng:   * Pieform->build() at /home/francois/code/mahara/htdocs/blocktype/lib.php:878
  ng:   * BlockInstance->build_configure_form(true) at /home/francois/code/mahara/htdocs/blocktype/lib.php:627
  ng:   * BlockInstance->render_editing(true, true) at /home/francois/code/mahara/htdocs/lib/view.php:1578
  ng:   * View->addblocktype(array(size 4)) at /home/francois/code/mahara/htdocs/lib/view.php:1294
  ng:   * View->process_changes() at /home/francois/code/mahara/htdocs/view/blocks.json.php:46

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


References