Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
5977b8bb
Commit
5977b8bb
authored
7 years ago
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Products.ZSQLCatalog.Query.AutoQuery: Fix AttributeError in error path
parent
c76aa299
master
arnau
arnau-TM-components-products-migration
arnau-TM-isBuildable-with-multiple-BusinessLinks
arnau-TM-jabber-client-desktop-notifications
arnau-real-time-inventory-accounting
bryton/py3
bt5_config
catalog_filter
cherry-pick-243c2f03
cherry-pick-304d7a28
erp5-component
erp5-messenger
erp5-vifib
erp5_capture_flag
erp5_catalog
erp5_catalog_final
erp5_corporate_identity
erp5_discussion_tool
erp5_forum
erp5_hal_json_style_fix_restricted_access_with_traverse
erp5_monitoring_app
erp5_new_officejs
erp5_new_officejs_2
erp5_new_officejs_3
erp5_new_officejs_4
erp5_new_officejs_5
erp5_officejs
erp5_payslip_migration
erp5_texteditor_migration
experiment/coding_style_test_suite
feat/olapy
feat/pdm_content_translation
feature/accounting-reports-stats
feature/hal-actions-support
feature/hal-support-update
feature/jio-accounting-reports
feature/jio-action-accounting
feature/jio-selection-actions
feature/json-allows-all-jio-actions
feature/renderjs-matrixbox
feature/renderjs-ui-no-header
feature/rjs-listbox-stats
feature/rjs-mass-transition
feature/rjs-print-action
fix/20180928-1D89375
fix/consistency_check_alarm
fix/multiple_small_fixes_to_zodb_history_tab
fix/support-request-app-empty
fix_listbox_buttons
for_testrunner_1
for_testrunner_2
for_testrunner_3
hateoas
hotfix/accounting-test-timeout
hotfix/callable_tool
hotfix/field-keeps-request
hotfix/jio-mass-transition
hotfix/jio_view
hotfix/pdm-test
hotfix/rjs-accounting-tests
hotfix/rjs-editability
hotfix/rjs-form-less-invasive
hotfix/rjs-formfields-padding
hotfix/rjs-listbox-mutex
hotfix/rjs-replace-query-with-uids
hotfix/tests-cleanup
initsite
js-ui
listbox_url
macros_fix
monitoring
monitoring-graph
notebook_roque
officejs_monitoring
ojs_wip
old_erp5_text_editor_migration
project_nexedi_net
refactor/base_edit
refactor/renderjs
revert-38554dbe
revert-6c89fe9b
romain_monitoring_app
roque_appstore_base
roque_appstore_improvements
roque_credentials
roque_dev
roque_drone_simulator
roque_erp5
roque_fix_coordinates
roque_officejs
roque_quick
scalability-master
scalability-roque
scalability-roque-2
scalability-run-command
w3validator_removal
wip
test-ui
test-rjsacc
test-rjs
renderjs-test
erp5.util-0.4.56
erp5.util-0.4.55
erp5.util-0.4.54
erp5.util-0.4.53
erp5.util-0.4.52
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ZSQLCatalog/Query/AutoQuery.py
product/ZSQLCatalog/Query/AutoQuery.py
+1
-1
No files found.
product/ZSQLCatalog/Query/AutoQuery.py
View file @
5977b8bb
...
...
@@ -59,7 +59,7 @@ class AutoQuery(Query):
self
.
operator
=
operator
self
.
ignore_empty_string
=
kw
.
pop
(
'ignore_empty_string'
,
True
)
if
'key'
in
kw
and
len
(
kw
)
>
2
:
raise
ValueError
,
'"key" parameter cannot be used when more than one column is given. key=%r'
%
(
self
.
search_key
,
)
raise
ValueError
,
'"key" parameter cannot be used when more than one column is given. key=%r'
%
(
kw
[
'key'
]
,
)
self
.
search_key
=
kw
.
pop
(
'key'
,
None
)
def
_createWrappedQuery
(
self
,
sql_catalog
):
...
...
This diff is collapsed.
Click to expand it.
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