hey there, I've experienced a couple of times the following problem: 1. Install someProduct and restart zope 2. Create an empty folder /foo 3. Create an instance fo someProduct as /foo/bar 4. Delete /foo/bar 5. Uninstall someProduct and restart zope 6. Go to /foo and I get an error about someProduct not being found. the most recent product I've tried where this occurs is exUserFolder. you can follow the steps 1,2,3&4 and export folder /foo as XML and you will see a lot of references to exUserFolder remain there (and nope, it's not because the zodb hasn't been packed)...something weird goes on there. But I remember this happening before with some other products too (I cant recall which though) are there any destructors or anything at all that should be created so this wont happen ? Thanks alex
+-------[ alex@quad.com.ar ]---------------------- | | 6. Go to /foo and I get an error about someProduct not being found. | I've had a quick look at this, and the only thing that it does that's different from most things is; self.__allow_groups__=self.acl_users this might cause things to linger. | are there any destructors or anything at all that should be created so this | wont happen ? I'm going to try and put in a manage_beforeDelete hook into exUserFolder to remove the __allow_groups__ and see if that helps... -- Totally Holistic Enterprises Internet| | Andrew Milton The Internet (Aust) Pty Ltd | | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
+-------[ Andrew Kenneth Milton ]---------------------- | | | are there any destructors or anything at all that should be created so this | | wont happen ? | | I'm going to try and put in a manage_beforeDelete hook into exUserFolder to | remove the __allow_groups__ and see if that helps... Yes it did. There's a new version posted that removes the __allow_groups__ pointer from its container. -- Totally Holistic Enterprises Internet| | Andrew Milton The Internet (Aust) Pty Ltd | | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
participants (2)
-
alex@quad.com.ar -
Andrew Kenneth Milton