Warnings in the logs when dragging a new text block on profile view
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Richard Mansfield |
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(
ng: * error(8, "Undefined property: stdClass::$url", "/home/
ng: * View::build_
ng: * pieform_
ng: * Pieform-
ng: * Pieform->build() at /home/francois/
ng: * BlockInstance-
ng: * BlockInstance-
ng: * View->addblockt
ng: * View->process_
Changed in mahara: | |
status: | Triaged → In Progress |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /reviews. mahara. org/1027 gitorious. org/mahara/ mahara/ commit/ d512d73878052bd aefb7fae0a29ddc 0948af78d5
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit d512d73878052bd aefb7fae0a29ddc 0948af78d5
Author: Richard Mansfield <email address hidden>
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: If25038e77b7019 b40482bbe06ea4d a70dab7a683
Signed-off-by: Richard Mansfield <email address hidden>