Previously Alberto Lopes wrote: > I am partially satisfied that, with your help, I was able to isolate the > problem: the source might be elsewhere (that would explain why the problem > started to appear suddenly), but it seems to affect the > getGroupsForPrincipal method. Also, it is related to the fact that the group > CN has accented (i.e. non-ascii) characters.
Which makes it at least somewhat likely that the code to blame is mine. Unfortunately due to vacation and deadlines I will not be able to look at that until late September or October so can't help you much further. > One possible solution that came to my mind is to "filter out" the accented > chars from both the groups returned by getGroupsForPrincipal and the groups > returned by the group search made at the sharing tab (enumerateGroups method > perhaps?). The "filter out" would be something like what Plone does when it > decides on a short name for an object based on a title that might contain > spaces, accented or otherwise weird characters. > > Do you think that might work and might be feasible to implement? If not, do > you have another suggestion I might think of in terms of strategy? I think we're at a point where it is probably just as doable to find the real problem and fix it. You're already 70% there I think. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
