---
** [tickets:#7229] User profile 500s if activity has a commit ref**
**Status:** closed
**Milestone:** asf_release_1.2.0
**Labels:** activitystreams sf-1
**Created:** Fri Feb 28, 2014 11:04 PM UTC by Dave Brondsema
**Last Updated:** Sun Dec 21, 2014 08:11 AM UTC
**Owner:** Cory Johns
Would be nice if each section on the profile page could fail gracefully, in
addition to fixing root error here.
~~~~
File
'/var/local/allura/Allura/allura/ext/user_profile/templates/user_index.html',
line 20 in top-level template code
{% extends g.theme.master %}
File '/var/local/allura/Allura/allura/templates/jinja_master/master.html', line
102 in top-level template code
{% block content_base %}
File
'/var/local/allura/Allura/allura/ext/user_profile/templates/user_index.html',
line 49 in block "content_base"
{{ section.display() }}
File '/var/local/allura/Allura/allura/ext/user_profile/user_main.py', line 268
in display
'auth': AuthenticationProvider.get(request),
File '/var/local/allura/ForgeActivity/forgeactivity/main.py', line 268 in
prepare_context
activity.obj.project = activity_obj.project if activity_obj else None
AttributeError: 'Commit' object has no attribute 'project'
~~~~
---
Sent from forge-allura.apache.org because [email protected] is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.