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
0
Issues
0
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
Laurent S
erp5
Commits
856517eb
Commit
856517eb
authored
Dec 23, 2016
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZSQLCatalog: Reject empty mapping.
Facilitates pinpointing faulty related key declarations.
parent
103d58f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ZSQLCatalog/ColumnMap.py
product/ZSQLCatalog/ColumnMap.py
+2
-0
No files found.
product/ZSQLCatalog/ColumnMap.py
View file @
856517eb
...
...
@@ -505,6 +505,8 @@ class ColumnMap(object):
assert
group
in
self
.
registry
,
(
group
,
self
.
registry
)
assert
column
in
self
.
registry
[
group
],
(
column
,
group
,
self
.
registry
[
group
])
assert
table_name
assert
column
column_map_key
=
(
group
,
column
)
column_map
=
self
.
column_map
assert
(
group
,
table_name
)
in
self
.
table_alias_dict
,
(
group
,
table_name
,
...
...
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