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
b24e4deb
Commit
b24e4deb
authored
Sep 13, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged fix for #1614: query src not included in error output for malformed
queries.
parent
eae6cbff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+7
-4
No files found.
lib/python/Shared/DC/ZRDB/DA.py
View file @
b24e4deb
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Generic Database adapter
$Id: DA.py,v 1.9
0 2000/07/26 15:48:19
brian Exp $'''
__version__
=
'$Revision: 1.9
0
$'
[
11
:
-
2
]
$Id: DA.py,v 1.9
1 2000/09/13 13:48:47
brian Exp $'''
__version__
=
'$Revision: 1.9
1
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
...
...
@@ -327,8 +327,11 @@ class DA(
def
manage_test
(
self
,
REQUEST
):
"""Test an SQL method."""
src
=
"Could not render the query template!"
# Try to render the query template first so that the rendered
# source will be available for the error message in case some
# error occurs...
try
:
src
=
self
(
REQUEST
,
src__
=
1
)
except
:
src
=
"Could not render the query template!"
result
=
()
t
=
v
=
tb
=
None
try
:
...
...
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