Does anyone know why PlonePAS.utils.[de]cleanId still exists? aka, can I go
and delete these?

portal_membership's getPersonalPortrait uses this, but this makes getting
the portrait for users with a '-' in the userid impossible.
The _getSafeMemberId method calls cleanId and that replaces '-' with '--'.
Thus the key used for the portal_membership.portraits storage is now
different.

See
https://github.com/plone/Products.PlonePAS/blob/master/Products/PlonePAS/tools/membership.py#L445

-- 
Roel Bruggink
http://www.fourdigits.nl/mensen/roel-bruggink

Four Digits BV
http://www.fourdigits.nl tel: +31(0)26 4422700
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to