Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-22 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 22 Sep 2004 12:40 am, Chris McDonough wrote:
 Would you be able to write a short test case that demonstrates the
 failure mode that you're seeing in your existing code?  It would be nice
 to understand the failure before blindly reenabling the old behavior
 because it really is DWIM.

Yes, and I have to try to produce a test case that shows up the 
ComputedAttribute issues I've been having too. I'm flat out at work (now that 
I'm no longer spending most of my time fixing ZODB corruptions and their 
fallout, I have a huge backlog of work to catch up on ;)


Richard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBUVJorGisBEHG6TARAkPXAJ9ZPiTqzqwWT9ziPsobk0PzMm1eRACbB6ah
gHxjiD/alPSmQiTzENXJCeA=
=Ly80
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Multi-part export files

2004-09-22 Thread Johan Carlsson
Hi Y'all,
I have currently implemented a object repository which
uses dynamic Acquisition wrapping to create an illusion
of a object hierarchy.
This means that sub object isn't contained in there parents
rather in the repository and this effectively breaks export/import
behavior and other behavior that rely in it such as CopySupport.
After doing some testing I've noticed that I can stack
export files in the same file by just keeping the file
open between the calls to exportFile (and the same for importFile).
In this way I could stack a number of export files in one file
(this could be used to export a set of object in a Folder in one
file so it might be useful for Zope Core as well).
Now the problem is that the import has no way to know where
to create the object, in my case I can let the repository
handle this using meta data in the objects. The repository
has a fixed structure, but in regular OFS the structure might
vary from system to system. It could be used to import all
object to the current folder, if name collision are taken care of.
Any thought on this?
Anybody done something remotely similar?
Could this be a useful feature in Zope core someway?
Best Regards,
Johan Carlsson

--
Johan Carlsson  Tel: + 46 8 31 24 94
Colliberty  Mob: + 46 70 558 25 24
Torsgatan 72Email: [EMAIL PROTECTED]
SE-113 37 STOCKHOLM
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-22 Thread Chris McDonough
Alright, well, in the meantime, I think we're going to release the beta
with the aq_acquire DWIM removed and if it causes other folks problems
we'll be able to tell from folks using the beta

On Wed, 2004-09-22 at 06:22, Richard Jones wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wed, 22 Sep 2004 12:40 am, Chris McDonough wrote:
  Would you be able to write a short test case that demonstrates the
  failure mode that you're seeing in your existing code?  It would be nice
  to understand the failure before blindly reenabling the old behavior
  because it really is DWIM.
 
 Yes, and I have to try to produce a test case that shows up the 
 ComputedAttribute issues I've been having too. I'm flat out at work (now that 
 I'm no longer spending most of my time fixing ZODB corruptions and their 
 fallout, I have a huge backlog of work to catch up on ;)
 
 
 Richard
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 
 iD8DBQFBUVJorGisBEHG6TARAkPXAJ9ZPiTqzqwWT9ziPsobk0PzMm1eRACbB6ah
 gHxjiD/alPSmQiTzENXJCeA=
 =Ly80
 -END PGP SIGNATURE-
 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-22 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 22 Sep 2004 11:14 pm, Chris McDonough wrote:
 Alright, well, in the meantime, I think we're going to release the beta
 with the aq_acquire DWIM removed and if it causes other folks problems
 we'll be able to tell from folks using the beta

Yep, fair enough.


Richard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBUffArGisBEHG6TARAni2AJ91sSfjNfzMQcEoG4U6zeiAc7GJ9wCeMzY4
10Ol8uSnIojUvCWbl4c9Mqg=
=cWQn
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )