Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Klaus Wölfel
erp5
Commits
a7a8e10a
Commit
a7a8e10a
authored
13 years ago
by
Arnaud Fontaine
Browse files
Options
Download
Email Patches
Plain Diff
Replace contentValues() by objectValues() for filling the Component registry dict.
parent
5a7887b9
Changes
1
Hide 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):
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
# is too risky as it lags behind and depends upon objects being
# 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
# be handled by component_validation_workflow which will take care of
# updating the registry
...
...
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