Comment 1 for bug 646019

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

The ITransaction interface says

    user = zope.interface.Attribute(
        """A user name associated with the transaction.

        The format of the user name is defined by the application. The value
        is of Python type str. Storages record the user value, as meta-data,
        when a transaction commits...

that user is of type str. So the FileStorage implementation is correct in this sense. But I don't understand why it cannot be unicode.

If there is a reason, then re-target this bug to zope.app.publication that should encode the principal id.