[Zope-dev] [Bug] Zope's transaction behaviour flawed

2003-02-02 Thread Dieter Maurer
Zope's current transaction behaviour is essentially: ## request starts transaction.begin() try: object= REQUEST.traverse(...) mapply(object,...) transaction.commit() except: transaction.abort() handle_error() ## request ends This is flawed as error

[Zope-dev] Re: [Zope] Header information on file upload

2003-02-02 Thread Martin Gebert
Florent Guillaume wrote: The File and Image objects use the Content-Type header on upload if it is provided by the browser. Only if none is provided does it guess one. See OFS.Image.File._get_content_type(). What brings me directly to the central question: Is this Content-Type header

Re: [Zope-dev] [Bug] Zope's transaction behaviour flawed

2003-02-02 Thread Chris McDonough
I am +1 on this. I suspect that before committing, though, we should ask people who make use of Zope's transaction manager in advanced ways like Phillip Eby. - C On Sun, 2003-02-02 at 10:40, Dieter Maurer wrote: The new behaviour would look something like this: ## request starts