[Zope-dev] using WSGIPublisher
Paul J Stevens
paul at nfg.nl
Wed Jun 6 15:06:36 UTC 2012
Hi all,
I've been running a test-setup using ZPublisher/WSGIPublisher.py
mongrel2 -> wsgid -> zope2
I'm running into some minor, some larger issues. Most importantly,
transactions are not committed. You know better than I do what that
means. For me, I can't create Plone sites, or even DTMLDocuments. And
when I create then using ZServer, I can't delete them any more through
the wsgi route.
I have a small patch against WSGIPublisher.py (branch 2.13) that fixes
above behaviour (attached).
After applying it creating and deleting content works ok, but when using
the sunburst theme, the created site looks completely unstyled, whereas
using the classic plone theme everything looks much better.
The plot thickens however because when I enable debug-mode, everything
works great!
Maybe someone with better understanding of the mechanics involved now
has an epiphany.
FYI, I'm using the following buildout:
https://github.com/pjstevns/plone.mongrel2
thanks.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/info at nfg.nl/+31.85.877.99.97
________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zope2.diff
Type: text/x-patch
Size: 877 bytes
Desc: not available
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20120606/6362be74/attachment.bin>
More information about the Zope-Dev
mailing list