unicode related bug in zope.app.security.principallogging.PrincipalLogging

Bug #131460 reported by Shailesh Kumar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Undecided
Unassigned
zope.publisher
Fix Released
Medium
Christian Theune

Bug Description

Version: Zope 3.3.1 release

zope.app.security.principallogging.PrincipalLogging looks like:

class PrincipalLogging(object):

   implements(ILoggingInfo)

   def __init__(self, principal):
       self.principal = principal

   def getLogMessage(self):
       return str(self.principal.id)

It requires that self.principal.id cannot be a UNICODE string (cannot
contain non-ascii characters).

The interface says it is a text line, thus accepting unicode.

description: updated
Changed in zope3:
status: New → Won't Fix
Changed in zope.publisher:
importance: Undecided → Medium
Changed in zope.publisher:
status: New → In Progress
assignee: nobody → Christian Theune (ct-gocept)
Revision history for this message
Christian Theune (ctheune) wrote :

Fixed in r112534.

Changed in zope.publisher:
status: In Progress → Fix Committed
Tres Seaver (tseaver)
Changed in zope.publisher:
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.