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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
b611cfc3
Commit
b611cfc3
authored
Oct 20, 2022
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workflow: getWorkflowId is still used.
parent
0c8b0230
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Type/Tool/WorkflowTool.py
product/ERP5Type/Tool/WorkflowTool.py
+4
-4
No files found.
product/ERP5Type/Tool/WorkflowTool.py
View file @
b611cfc3
...
...
@@ -645,10 +645,10 @@ if WITH_LEGACY_WORKFLOW:
deprecated
(
'getWorkflowIds() is deprecated; use objectIds()'
)
\
(
lambda
self
:
self
.
objectIds
())
WorkflowTool
.
security
.
declarePrivate
(
'getWorkflowIds'
)
WorkflowTool
.
getWorkflowById
=
\
deprecated
(
'getWorkflowById() is deprecated'
)
\
(
lambda
self
,
wf_id
:
self
.
_getOb
(
wf_id
,
None
)
)
WorkflowTool
.
security
.
declarePrivate
(
'getWorkflowById'
)
# XXX We still use portal_workflow.getInfoFor, that calls WorkflowTool.getWorkflowById
WorkflowTool
.
getWorkflowById
=
lambda
self
,
wf_id
:
self
.
_getOb
(
wf_id
,
None
)
WorkflowTool
.
security
.
declarePrivate
(
'getWorkflowById'
)
InitializeClass
(
WorkflowTool
)
...
...
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