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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
erp5
Commits
a7a8e10a
Commit
a7a8e10a
authored
Mar 01, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace contentValues() by objectValues() for filling the Component registry dict.
parent
5a7887b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/dynamic/component_package.py
product/ERP5Type/dynamic/component_package.py
+2
-2
No files found.
product/ERP5Type/dynamic/component_package.py
View file @
a7a8e10a
...
@@ -105,11 +105,11 @@ class ComponentDynamicPackage(ModuleType):
...
@@ -105,11 +105,11 @@ class ComponentDynamicPackage(ModuleType):
version_priority_set
=
set
(
portal
.
getVersionPriorityList
())
version_priority_set
=
set
(
portal
.
getVersionPriorityList
())
#
conten
tValues should not be used for a large number of objects, but
#
objec
tValues should not be used for a large number of objects, but
# this is only done at startup or upon reset, moreover using the Catalog
# this is only done at startup or upon reset, moreover using the Catalog
# is too risky as it lags behind and depends upon objects being
# is too risky as it lags behind and depends upon objects being
# reindexed
# reindexed
for
component
in
component_tool
.
conten
tValues
(
portal_type
=
self
.
_portal_type
):
for
component
in
component_tool
.
objec
tValues
(
portal_type
=
self
.
_portal_type
):
# Only consider modified or validated states as state transition will
# Only consider modified or validated states as state transition will
# be handled by component_validation_workflow which will take care of
# be handled by component_validation_workflow which will take care of
# updating the registry
# updating the registry
...
...
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