ParsedXML in Zclass methods loses permissions on Zope restart
I'm still casting around for a suggestion on where I can go to fix this. I have a ParsedXML object in the methods list of a ZClass Product. The "Access Contents Information" Permission Mapping always get's reset to "blank" in the ParsedXML object when Zope restarts. Is this a problem with ZClasses, or with ParsedXML? I put this in the collector 3 or 4 months ago, and have asked a few times on different lists.. Got no responses. I now must fix it, can't put it off any longer. Any suggestions where to look in the source for where Permission mappings are stored? Perhaps ZClasses stores the permission mappings, but ParsedXML overrides the restored value somehow? Zope 2.3.3 (binary release, python 1.5.2, linux2-x86) (Using last released beta parsed XML) Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
Brad Clements wrote:
I'm still casting around for a suggestion on where I can go to fix this.
I have a ParsedXML object in the methods list of a ZClass Product.
The "Access Contents Information" Permission Mapping always get's reset to "blank" in the ParsedXML object when Zope restarts.
Is this a problem with ZClasses, or with ParsedXML?
Taking a look at ParsedXML, it looks like it just does a very simple permission definition, so it doesn't *look* like there's something wrong there. What it sounds like is that something that should be persistent isn't for some reason. Either an object attribute is changed without the permission mechanism being informed of the change, or it's for some reason an attribute on a nonpersistent is changed. This at least would explain why the permission mapping magically goes away.. Don't know if that helped at all; good luck. If you find out there's any problem in ParsedXML please let me know! Regards, Martijn
participants (2)
-
Brad Clements -
Martijn Faassen