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
alecs_myu
erp5
Commits
10e63467
Commit
10e63467
authored
May 04, 2012
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zsqlcatalog method is expecting a dict, not None
parent
cd59755b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5Catalog/CatalogTool.py
product/ERP5Catalog/CatalogTool.py
+2
-0
No files found.
product/ERP5Catalog/CatalogTool.py
View file @
10e63467
...
@@ -683,6 +683,8 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
...
@@ -683,6 +683,8 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
predicate_property_dict
=
catalog
.
getPredicatePropertyDict
(
object
)
predicate_property_dict
=
catalog
.
getPredicatePropertyDict
(
object
)
if
predicate_property_dict
is
not
None
:
if
predicate_property_dict
is
not
None
:
w
.
predicate_property_dict
=
predicate_property_dict
w
.
predicate_property_dict
=
predicate_property_dict
else
:
w
.
predicate_property_dict
=
dict
()
w
.
security_uid
=
security_uid
w
.
security_uid
=
security_uid
(
subject_set_uid
,
optimised_subject_list
)
=
catalog
.
getSubjectSetUid
(
document_w
)
(
subject_set_uid
,
optimised_subject_list
)
=
catalog
.
getSubjectSetUid
(
document_w
)
w
.
optimised_subject_list
=
optimised_subject_list
w
.
optimised_subject_list
=
optimised_subject_list
...
...
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