Commit 9835ab9f authored by Chris McDonough's avatar Chris McDonough

Whoops, don't break the site error log with our "getUserName" to "getId" changes.

parent ebace0cb
......@@ -13,7 +13,7 @@
##############################################################################
"""Site error log module.
$Id: SiteErrorLog.py,v 1.12 2002/10/16 21:14:42 chrism Exp $
$Id: SiteErrorLog.py,v 1.13 2002/10/16 21:26:32 chrism Exp $
"""
import os
......@@ -155,7 +155,7 @@ class SiteErrorLog (SimpleItem):
url = request.get('URL', '?')
usr = getSecurityManager().getUser()
username = usr.getUserName()
userid = usr.getUserId()
userid = usr.getId()
try:
req_html = str(request)
except:
......
......@@ -17,8 +17,8 @@ The specified log entry was not found. It may have expired.
<td tal:content="python: DateTime(entry['time'])"></td>
</tr>
<tr>
<th align="left" valign="top">User</th>
<td tal:content="entry/username">joe</td>
<th align="left" valign="top">User Name (User Id)</th>
<td tal:content="string: ${entry/username} (${entry/userid})">joe (joe)</td>
</tr>
<tr>
<th align="left" valign="top">Request URL</th>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment