Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-24 Thread Chris Withers
Hi there, yuppie wrote: Just want to let you know that I'm not happy with the way these two collector issues were "resolved": Hope at least one of them will be re-opened. Since these are both confused, long standing fea

Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-24 Thread Simon Eisenmann
Chris Withers wrote: > Since these are both confused, long standing feature requests, what I'd recommend instead is writing a mail to this list explaining exactly what the problem is that you're having, the changes you would like made, and why you'd likee them made. You could even give it a nice

Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-24 Thread Chris Withers
Simon Eisenmann wrote: So having VIRTUAL_URL anytime available would help alot. Can you have a look at the latest comment added to: http://zope.org/Collectors/Zope/1308 It appears there are a LOT of variables already available, one of which may do what you want. This is beginning to sound like a

Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-24 Thread Simon Eisenmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: | It appears there are a LOT of variables already available, one of which | may do what you want. This is beginning to sound like a documentation | problem rather than a "we need more methodz" problem. Thats right there are a lot o

[Zope-dev] Transaction problems and publisher

2004-08-24 Thread Florent Guillaume
I've reopened bug 789 (http://collector.zope.org/Zope/789) because we observed problems in Zope 2.7.2 with transaction abort by the publisher. The problems can make objects disappear or provoke POSKeyErrors. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 71 59 http://nuxeo.com

[Zope-dev] is an object in a folder

2004-08-24 Thread Florent Guillaume
I'd like to add a method like def hasObject(self, id): """Test if an object is in the current object.""" for o in self._objects: if o['id'] == id: return 1 return 0 to ObjectManager. This would bring it in line with BTreeFolder2 (who already h

Re: [Zope-dev] Preventing scripts from being called directly

2004-08-24 Thread Florent Guillaume
In article <[EMAIL PROTECTED]> you write: > Hello, > > I am trying to prevent PythonScripts from being called directly TTW. > > Is there a better way of doing this than the following code being called > at the very begining of the script? > > if script.getPhysicalPath() = context.REQUEST.PUBLIS

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-24 Thread Ames Andreas (MPA/DF)
Hello, Leonardo Rochael Almeida wrote: > Yes, if you file a feature request on the bug collector, which can > be found at: I've put the most recent version of the patch to http://collector.zope.org/Zope/1472. cheers, andreas ___ Zope-Dev maillist

Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-24 Thread Paul Winkler
On Tue, Aug 24, 2004 at 09:36:53AM +0100, Chris Withers wrote: > Simon Eisenmann wrote: > > >tal:attributes="href string:${url}#someContent"> > > > >So having VIRTUAL_URL anytime available would help alot. > > Can you have a look at the latest comment added to: > http://zope.org/Collectors/Zope/13

Re: [Zope-dev] is an object in a folder

2004-08-24 Thread Paul Winkler
On Tue, Aug 24, 2004 at 03:25:17PM +0200, Florent Guillaume wrote: > I'd like to add a method like > > def hasObject(self, id): > """Test if an object is in the current object.""" > for o in self._objects: > if o['id'] == id: > return 1 > ret

Re: [Zope-dev] is an object in a folder

2004-08-24 Thread Florent Guillaume
> from Acquisition import aq_base > ... > def hasObject(self, id): > """Test if an object is in the current object. > """ > if hasattr(aq_base(self), id): > return 1 > return 0 It would be nice and faster but it doesn't work for non-subobjects attrib

[Zope-dev] Re: closed collector issues 1252 and 1308

2004-08-24 Thread yuppie
Hi! Chris Withers wrote: Just want to let you know that I'm not happy with the way these two collector issues were "resolved": Hope at least one of them will be re-opened. Since these are both confused, long standing f

[Zope-dev] Re: closed collector issues 1252 and 1308

2004-08-24 Thread yuppie
Hi! Paul Winkler wrote: absolute_url - containment only, does not include contextual elements from the client's URL, that's the whole point of this method :-) absolute_url(relative=1) - same as absolute_url, and not usable in some VHM situations. absolute_url_path - is usable with VHM, but

Re: [Zope-dev] Transaction problems and publisher

2004-08-24 Thread Michael Dunstan
On 25/08/2004, at 12:55 AM, Florent Guillaume wrote: I've reopened bug 789 (http://collector.zope.org/Zope/789) because we observed problems in Zope 2.7.2 with transaction abort by the publisher. The problems can make objects disappear or provoke POSKeyErrors. Here is a patch for publisher that

[Zope-dev] how to start workflow instance on another zope server with SOAP?

2004-08-24 Thread Aruna Kathiriya
Hi, I am very new to open source. I am trying to start an instance of a workflow on a Zope server from another Zope server. I did successfully with XML-RPC call but I need to do it with SOAP. I am note sure weather I can do it or not. I am running two Zope servers on my local m/c on 2 different p

Re: [Zope-dev] APE leaving SQL transactions open

2004-08-24 Thread Shane Hathaway
On Friday 13 August 2004 01:43 am, Paolo Bizzarri wrote: > Now, let's add an object (a File). > > 1) I can see a transaction *NOT* beginning, going on the sql log, with a > COMMIT; > 2) I can see a begin/finish in my log; > > The environment is as follows: > 1) postgresql 7.3.2 > 2) zope 2.7.1 > 3