[Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-24 Thread Christian Heimes
Sidnei da Silva wrote: I'm going to fix those (after my english class) and then try something harder ;) Here is more stuff: >>> import mrohell >>> base = mrohell.step1() >>> mrohell.step2(base, mroonly=True) Couldn't get mro for Products.Archetypes.BaseBTreeFolder.BaseBTreeFolder Couldn't get mro

[Zope-dev] Re: Where to put Zope 3 in Zope 2

2004-01-10 Thread Christian Heimes
I want to make the zope.interface (Zope 3 Interfaces) package available on the Zope 2 head (aka Zope 2.8). I propose to add lib/python/zope3 as a container for zope 3 packages. This new directory will be added to the path used by Zope 2. +1 I was thinking about to write a feature request for this

[Zope-dev] Re: 2.7 workflow not working anymore

2004-01-17 Thread Christian Heimes
robert wrote: Hi there, I have a DCWorkflow (running under plone 1.04) that has bean doing fine now for a year or so. Now under 2.7 I get the following traceback: [...] Module Products.VerboseSecurity.VerboseSecurityPolicy, line 272, in validate Please *read* the changelog of Zope 2.7b3 and grep

[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-05 Thread Christian Heimes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: ~ > Looks like "RESPONSE" is "None". | | I do not see how this can happen... but a CMFPhoto user reported a bug like this to me today. According to his traceback self.REQUEST had now attribute RESPONSE. That's really strange. :( Ti

[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-06 Thread Christian Heimes
Christian Heimes wrote: [...] And the next one: Python2.3.3/Zope2.70rc2/Plone2rc5. Exception Type AttributeError Exception Value 'str' object has no attribute 'RESPONSE' [...] Module Products.CMFPhoto.Photo, line 510, in clearCache AttributeError: 'str' object h

[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-07 Thread Christian Heimes
Chris McDonough wrote: > FWIW, this often happens when "self" isn't ultimately wrapped in a > RequestContainer (as it always should be when dealing with TTW code or > code that depends on REQUEST). The string is likely something like > "", which is the string that > represents something when it is

[Zope-dev] InvalidObjectReference: Attempt to store an object from a foreign database connection

2004-03-29 Thread Christian Heimes
There is a problem regarding plone, cmf and the quickinstaller tool. I'm getting an InvalidObjectReference error after reinstalling a product with the quickinstaller a second time or several times. It looks like the error happens only after I visited the plone ui at least once but that could be

Re: [Zope-dev] InvalidObjectReference: Attempt to store an object from a foreign database connection

2004-03-29 Thread Christian Heimes
Dieter Maurer wrote: Andreas Jung announced that he was able to work around a similar problem in PloneCollectorNG. He changed a class to be *not* persistent and that resovled his problem. Christian ___ Zope-Dev maillist - [EMAIL PROTECTED] http://ma

[Zope-dev] External Editor and Archetypes 1.3

2004-04-05 Thread Christian Heimes
Hi! I tested the External Editor integration with the last version of AT Document from my AT Content Types. When saving the changes I'm getting this exception: Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module Z

[Zope-dev] Next bug: base_edit and webdav lock

2004-04-05 Thread Christian Heimes
The base_edit template of archetypes doesn't take care of webdav looks. It's possible to save a file while it's looked. Christian ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML enco

[Zope-dev] Ups, wrong list (n/t)

2004-04-06 Thread Christian Heimes
no text ___ 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] Re: Proposal: Move to subversion for source code control of the Zope and ZODB projects

2004-04-11 Thread Christian Heimes
Jim Fulton wrote: I propose to move from CVS to subversion for the Zope and ZODB projects; http://dev.zope.org/Zope3/MovingSCMToSubversion Initially, I propose to move just the repository heads. Maintenamce branches (e.g. Zope 2.6 and Zope 2.7) will remain in CVS. Finally ... :) +1 Christian _

[Zope-dev] Re: PlacelessTranslationService syntax

2004-04-13 Thread Christian Heimes
Milos Prudek wrote: What's the correct ZPT syntax for PlacelessTranslationService? PTS is just a translation service for ZPT. It doesn't add any functionality to ZPT. I tried this: Good morning This gets rendered into: Good morning No translation, although I do have an entry for 'Good mornin

[Zope-dev] Re: class methods in Persistent objects

2004-04-16 Thread Christian Heimes
Syver Enstad wrote: Is it possible to have class methods on ZODB Persistent objects? I am using 3.2 so that means I am using ExtensionClass. I guess that moving to 3.3 would mean being able to use class methods? What is the expected time that the 3.3 release will be ready for production use? I du

[Zope-dev] Re: zLOG is dead

2004-04-20 Thread Christian Heimes
Fred Drake wrote: zLOG is dead The zLOG package used for logging throughout ZODB, ZEO, and Zope 2 has been declared obsolete. All logging for Zope products will use the logging package from Python's standard library. The zLOG package still exists in Zope 2 and the separat

[Zope-dev] Re: Placeless Translation Service

2004-06-02 Thread Christian Heimes
Milos Prudek wrote: where can I discuss Placeless Translation Service development? The original author Lalo Martins does not respond to emails - current PTS bears a "fork" suffix - who's in charge now? Gotcha :) Come to plone-dev or #plone on irc.freenode.net Christian

[Zope-dev] Re: Large folder product

2004-08-13 Thread Christian Heimes
Rodrigo Dias Arruda Senra wrote: - BTreeFolder ( http://zope.org/Members/hathawsh/BTreeFolder ). But it seems a bit outdated: last maintenance 2001. - Harthaway's BTreeFolder2 ( http://hathawaymix.org/Software/BTreeFolder2 ) Much more up-to-date: 16 June 2004 - And I did look for a produc

[Zope-dev] Re: Renamed the Zope package to Zope2 and including Zope 3 packages in Zope 2.8

2005-02-01 Thread Christian Heimes
Jim Fulton wrote: Originally, I had intended not to include any Zope 3 packages until Zope 2.9, however, Zope 2.8 has been delayed long enough that I think it makes sense to include some parts of Zope 3 sooner. I also want to use some of the Zope 3 persistent code support, which depends on zope.in

[Zope-dev] Re: QueueCatalog Tool Inadvertantly Triggers Indexing

2005-02-19 Thread Christian Heimes
Ken Wasetis wrote: Is this a bug, or am I misusing or misunderstanding the tool's design? ATFile is making use of a special hook of TextIndexNG2 from Andreas Jung. The hook is called txng_get. It might (!) have to do something with the hook. That's the only thing that is special about ATFile in t

[Zope-dev] ZPT: defer expression fix

2005-03-28 Thread Christian Heimes
PageTemplates have an undocumented features called defer:. It's a kind of lazy initialization of variables. I've fixed to issues in my tiran-zpt-pydefer branch (svn): * DeferWrappers weren't working inside a python expression because PythonExpr didn't know about them * DeferWrapper didn't cac

[Zope-dev] Re: ZPT: defer expression fix

2005-03-28 Thread Christian Heimes
Jens Vagelpohl wrote: I'm assuming the unit tests still run successfully and you added unit tests for your changes. All unit tests are passing with my chances. I've to write some tests before merging my branch. I'll write them after somebody seconds my fix. Christian

[Zope-dev] Re: ZPT: defer expression fix

2005-03-29 Thread Christian Heimes
Florent Guillaume wrote: I had trouble finding your branch because you put it in Zope/tiran-zpt-pydefer instead of Zope/branches/tiran-zpt-pydefer. Could you move it ? Ups, done :) Christian ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

[Zope-dev] Re: post publishing hook

2005-04-01 Thread Christian Heimes
Florent Guillaume wrote: I really could use a post publishing hook. Standard use case: delay indexing at the end of the request to only do it once per object even if the object has been modified 4 times. Using a post publishing hook for this use case isn't a good idea - IMO. The Publisher has not

[Zope-dev] Re: ZPT: defer expression fix

2005-04-02 Thread Christian Heimes
Dieter Maurer wrote: Maybe, the feature could get documented as well... An undocumented feature is only half valuable... +1 Is there anybody out there who can help me with the docs? I need someone to translate my english into real and nice english and someone with the permissions to update the ZP

[Zope-dev] Re: ZPT: defer expression fix

2005-04-02 Thread Christian Heimes
Evan Simpson wrote: Christian Heimes wrote: * DeferWrapper didn't cache the result of the expression like ordinary vars do. This was intended, though you couldn't know that since I never documented this. Consider the following terrible example: This should evaluate to: x i

[Zope-dev] Re: ZPT: defer expression fix

2005-04-08 Thread Christian Heimes
Evan Simpson wrote: Christian Heimes wrote: That's an interessting use case. Do you want me to keep the code and make up a new expression? I'm thinking about "lazy:". If you have a particular use for "defer:" that would justify the split, please go ahead. I

[Zope-dev] Re: ZPT: defer expression fix

2005-04-08 Thread Christian Heimes
Tres Seaver wrote: I'd be glad to help with that, Christian. I've added a doc string to the DeferExpr module. Do you want me to write more docs is it enough to be added to the ZPT guide? Also I need a little help for the unit tests. How can I emulate tal:content or similar inside an expression

[Zope-dev] Re: BTreeFolder2 for Zope 2.8?

2005-04-23 Thread Christian Heimes
Andreas Jung wrote: Any objections to move BTreeFolder2 into the Zope core for Zope 2.8? BTF is widely used in the Zope, CMF & Plone world and it would not hurt to ship it with Zope. +1 Christian ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zo

[Zope-dev] Re: 2.8.0b1 issues with plone 2.0.5

2005-04-25 Thread Christian Heimes
Tim Hicks wrote: Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site' (2.0.5). The plone site actually did get added, but here's what I got as well: For the notes: Latest versions of Plone 2.1 and CMF 1.4 are mostl

[Zope-dev] Improvements for Zope2's security

2006-09-18 Thread Christian Heimes
Hey guys! In the past few months I fiddled around with Zope2's security and access control code. I analysied my own code and code from other developers to search for common errors. Also I tried to think of ways to make the security system easier and more verbose on coding errors I have not yet im

[Zope-dev] Re: Improvements for Zope2's security

2006-09-19 Thread Christian Heimes
Lennart Regebro schrieb: > You have many good points in your list of troubles. Many of them are > resolved by using security declarations through ZCML instead. It would > be interesting to here your views on this. In general I preferre old and well tested security code over new security related co