Re: [Zope-CMF] CMF write performance as poor as Plone?

2008-11-23 Thread Ross Patterson
Tres Seaver [EMAIL PROTECTED] writes: Ross Patterson wrote: Tres Seaver [EMAIL PROTECTED] writes: Andreas Jung wrote: On 23.11.2008 11:57 Uhr, Charlie Clark wrote: Am 23.11.2008 um 09:24 schrieb Andreas Jung: This issue is independent of the client-side. ab2 and cmf/plone were running

[Zope-CMF] Registering CMF Content Types in ZCML

2008-11-11 Thread Ross Patterson
The CMF 2.1 change logs indicate it's possible to register content in ZCML but I'm not having any luck finding any examples or documentation. I know I've seen it in use in the wild before but I can't remember where that was. Any help would be great, thanks! Ross

[Zope-CMF] LP #254576: CMFCore.exportimport.content doesn't index results of .properties

2008-09-13 Thread Ross Patterson
From https://bugs.launchpad.net/zope-cmf/+bug/254576: In CMFCore/exportimport/content.py:201, the title and description for the newly created content are set but nothing is done to reindex the objects so that the catalog will reflect the new values. It seems that the solution

[Zope-CMF] Re: five.intid and DirectoryView

2008-06-30 Thread Ross Patterson
Laurence Rowe [EMAIL PROTECTED] writes: Ross Patterson wrote: Tres Seaver [EMAIL PROTECTED] writes: Martijn Pieters wrote: On Fri, Jun 27, 2008 at 6:53 PM, Ross Patterson [EMAIL PROTECTED] wrote: Martijn Pieters [EMAIL PROTECTED] writes: But the code never does that. When cloning a file

[Zope-CMF] Re: five.intid and DirectoryView

2008-06-28 Thread Ross Patterson
Tres Seaver [EMAIL PROTECTED] writes: Martijn Pieters wrote: On Fri, Jun 27, 2008 at 6:53 PM, Ross Patterson [EMAIL PROTECTED] wrote: Martijn Pieters [EMAIL PROTECTED] writes: But the code never does that. When cloning a file-based FSObject, a new instance is created and that is added

[Zope-CMF] Re: five.intid and DirectoryView

2008-06-27 Thread Ross Patterson
Martijn Pieters [EMAIL PROTECTED] writes: On Thu, Jun 26, 2008 at 10:08 PM, Ross Patterson [EMAIL PROTECTED] wrote: But since the FSObjects provide IPersistent, they can be added to a connection. If they're added to a connection, the object can be ghosted when that connection is closed

[Zope-CMF] Re: five.intid and DirectoryView

2008-06-26 Thread Ross Patterson
Martijn Pieters [EMAIL PROTECTED] writes: On Thu, Jun 26, 2008 at 5:26 AM, Ross Patterson [EMAIL PROTECTED] wrote: This seems wrong in that the object subclasses Persistent but is being used in a way that doesn't allow it to be stored in a ZODB. Why do the FSObject classes subclass

[Zope-CMF] Re: five.intid and DirectoryView

2008-06-26 Thread Ross Patterson
Martijn Pieters [EMAIL PROTECTED] writes: On Thu, Jun 26, 2008 at 7:15 PM, Ross Patterson [EMAIL PROTECTED] wrote: I think because they are also used to create TTW skin objects; hit 'customize' on one such object in the skins directory and a copy is created that *is* persisted. So wouldn't

[Zope-CMF] Re: getUtility(ISiteRoot) bug?

2007-03-08 Thread Ross Patterson
yuppie [EMAIL PROTECTED] writes: I'm stuck. In CMFCore.Expression.getExprContext I tried to replace:: utool = getUtility(IURLTool) portal = utool.getPortalObject() by:: portal = getUtility(ISiteRoot) I can't get this working. The lookup from within

[Zope-CMF] Re: Abusing GenericSetup during traditional installs

2006-12-05 Thread Ross Patterson
I got tired of reindexing large indexes that were cleared unintelligently by the index import adapters so I wrote the following exportimport.pluginindexes and overrides.zcml. I'm posting them here in case anyone wants to use the code. This doesn't handle reindexing indexes when it's needed but