[2.12.0b1] Redirect exception not handled properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
running zope 2.12.0b1
Traceback (innermost last):
* Module ZPublisher.Publish, line 204, in publish_
* Module ZPublisher.Publish, line 150, in publish
* Module Zope2.App.startup, line 249, in __call__
* Module ZPublisher.Publish, line 119, in publish
* Module ZPublisher.mapply, line 77, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module Shared.
* Module Shared.
* Module App.special_dtml, line 185, in _exec
* Module DocumentTemplat
* Module DocumentTemplat
RuntimeError: http://
calling the same script directly works without problems.
description: | updated |
summary: |
- Script Python's ZScriptHTML_tryForm raises error in ZMI + [2.12.0b1]Redirect exception not handled properly |
summary: |
- [2.12.0b1]Redirect exception not handled properly + [2.12.0b1] Redirect exception not handled properly |
Changed in zope2: | |
status: | Fix Committed → Fix Released |
What Python version did you use? Considering the exception happens in DT_Raise I suspect something in the realm of exception handling in general, as this changed in both Python 2.5 and 2.6 to some wide degree. Especially that Exceptions now have to be new-style classes and strings don't work anymore.