Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9d7144fd
Commit
9d7144fd
authored
Jun 15, 2006
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector #2133: standard_error_messages are out of sync.
parent
9c91edba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/ZPublisher/HTTPResponse.py
lib/python/ZPublisher/HTTPResponse.py
+3
-14
No files found.
doc/CHANGES.txt
View file @
9d7144fd
...
...
@@ -18,6 +18,8 @@ Zope Changes
Bugs fixed
- Collector #2133: standard_error_messages are out of sync.
- Updated Five to bugfix release 1.3.6.
- Collector #2116: sequence.sort() did not work properly
...
...
lib/python/ZPublisher/HTTPResponse.py
View file @
9d7144fd
...
...
@@ -611,18 +611,9 @@ class HTTPResponse(BaseResponse):
def
_error_html
(
self
,
title
,
body
):
# XXX could this try to use standard_error_message somehow?
return
(
"""
\
<table border="0" width="100%">
<tr valign="top">
<td width="10%" align="center">
</td>
<td width="90%">
<h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>"""
+
\
"""
</p>
<p><strong>%s</strong></p>
%s"""
%
(
title
,
body
)
+
\
...
...
@@ -639,14 +630,12 @@ class HTTPResponse(BaseResponse):
</ul>
<p>For more detailed information about the error, please
refer to error log.
refer to
the
error log.
</p>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
</td></tr>
</table>"""
)
</p>"""
)
def
notFoundError
(
self
,
entry
=
'Unknown'
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment