Groups2009 code bugfix: group iter and contains yield exception
_contains and _iter were removed. A bug fixed, when not defined group was mentioned in some group definition contains and iter yield exception. Tests were added for this case. http://hg.moinmo.in/moin/1.9-groups-dmilajevs/rev/654fdbbf4eb5
Groups2009 debugging: infinite recursion happens when group page consists acl which contains this page's group
- I've spent some time finding out what is going, what is the problem directly.
21:35 < ThomasWaldmann> dimazest: can you summarize the problem in short? 21:38 < dimazest> http://paste.pocoo.org/show/127482/ 21:38 < dimazest> this is the case 21:38 < dimazest> we try to get group with name UserGroup 21:38 < dimazest> and acl line uses UserGroup 21:38 < dimazest> so, when formatter tries to get members, acl line is proessed 21:39 < dimazest> and acl code try to get UserGroup 21:39 < dimazest> it is where recursion happens 21:40 < dimazest> *i think so* 21:43 < ThomasWaldmann> i don't think that the formatter checks acls 21:43 < ThomasWaldmann> but rather Page maybe 21:50 < dimazest> Page.send_page() does 21:50 < dimazest> i was wrong about formatter, but anidea is similar 21:51 < ThomasWaldmann> elif not request.user.may.read(self.page_name): 21:51 < ThomasWaldmann> special = 'denied' 21:51 < ThomasWaldmann> likely that is the place