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
Eugene Shen
erp5
Commits
27355069
Commit
27355069
authored
8 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Download
Email Patches
Plain Diff
PortalTransforms: refresh transforms in internal structure in reloadTransforms().
parent
e29ba689
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
product/PortalTransforms/TransformEngine.py
product/PortalTransforms/TransformEngine.py
+13
-0
No files found.
product/PortalTransforms/TransformEngine.py
View file @
27355069
...
...
@@ -31,6 +31,7 @@ from Products.PortalTransforms.utils import TransformException
from
Products.PortalTransforms.utils
import
_www
from
ZODB.POSException
import
ConflictError
from
zLOG
import
WARNING
class
TransformTool
(
UniqueObject
,
ActionProviderBase
,
Folder
):
...
...
@@ -546,6 +547,18 @@ class TransformTool(UniqueObject, ActionProviderBase, Folder):
o
=
getattr
(
self
,
id
)
o
.
reload
()
reloaded
.
append
((
id
,
o
.
module
))
try
:
self
.
_unmapTransform
(
o
)
except
ConflictError
:
raise
except
:
pass
try
:
self
.
_mapTransform
(
o
)
except
ConflictError
:
raise
except
:
pass
return
reloaded
# Policy handling methods
...
...
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