[Zope3-Users] a question about
zope.app.security.principallogging.PrincipalLogging
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 9 22:28:13 EDT 2007
On Wednesday 08 August 2007 12:14, Shailesh Kumar wrote:
> 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).
You are right. The interface says it is a text line, thus accepting unicode.
So this is a bug.
> Is this intentional???
Can you file a bug report or even fix it yourself, including a test?
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users
mailing list