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
Lukas Niegsch
erp5
Commits
27355069
Commit
27355069
authored
Aug 18, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PortalTransforms: refresh transforms in internal structure in reloadTransforms().
parent
e29ba689
Changes
1
Show 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
...
@@ -31,6 +31,7 @@ from Products.PortalTransforms.utils import TransformException
from
Products.PortalTransforms.utils
import
_www
from
Products.PortalTransforms.utils
import
_www
from
ZODB.POSException
import
ConflictError
from
zLOG
import
WARNING
from
zLOG
import
WARNING
class
TransformTool
(
UniqueObject
,
ActionProviderBase
,
Folder
):
class
TransformTool
(
UniqueObject
,
ActionProviderBase
,
Folder
):
...
@@ -546,6 +547,18 @@ class TransformTool(UniqueObject, ActionProviderBase, Folder):
...
@@ -546,6 +547,18 @@ class TransformTool(UniqueObject, ActionProviderBase, Folder):
o
=
getattr
(
self
,
id
)
o
=
getattr
(
self
,
id
)
o
.
reload
()
o
.
reload
()
reloaded
.
append
((
id
,
o
.
module
))
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
return
reloaded
# Policy handling methods
# Policy handling methods
...
...
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