Fatal error when logged out user visits a user with no profile

Bug #837801 reported by Richard Mansfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Richard Mansfield

Bug Description

The exact same problem is described in https://bugs.launchpad.net/mahara/+bug/547546
It looks like this was broken again (be me) in commit f3068aaba80.

Changed in mahara:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Richard Mansfield (richard-mansfield)
milestone: none → 1.5.0
Revision history for this message
François Marier (fmarier) wrote :
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/622
Committed: http://gitorious.org/mahara/mahara/commit/ba6be18e8e6fe0f6b30a7b721ab2d9e90c9d1f3f
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit ba6be18e8e6fe0f6b30a7b721ab2d9e90c9d1f3f
Author: Richard Mansfield <email address hidden>
Date: Wed Aug 31 14:42:33 2011 +1200

    Fix fatal error on profile page (bug #837801)

    When a logged-out user visits the profile of someone who hasn't had
    a profile view generated, an attempt is made to fetch the id of the
    non-existent view. This happens e.g. when the user account was
    created by an admin, and the owner hasn't logged in yet, and no
    logged-in user has tried to visit the profile either.

    Change-Id: I66086280fc0ee09da81e262f94faf476d05e76b4
    Signed-off-by: Richard Mansfield <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.