Use 'publication' view name for exception views in ZopePublication
Bug #97896 reported by
Steve Alexander
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.app.publication |
Confirmed
|
Medium
|
Jim Fulton |
Bug Description
At present, in ZopePublication, when an exception reaches the Publication component, the default view on an exception is rendered.
This should be changed so that the 'publication' view on an exception is rendered. Views registered for 'index.html' on exceptions should be changed to be registered for 'publication' instead.
This change may affect non-core products so an announcement should be made on zope3-dev.
This change is important because there will be other uses for views on exceptions when the next round of forms/widgets work is undertaken.
affects: | zope3 → bluebream |
affects: | bluebream → zope3 |
affects: | zope3 → zope.app.publication |
To post a comment you must log in.
Status: Pending => Rejected
I think now that we have "providing" interfaces for views this is a non-issue, and looking up the default view for an exception when it occurs seems for me the right thing to do.
If someone objects to this conclusion, feel free to reopen the bug.