Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-workflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-workflow
Commits
19f358a0
Commit
19f358a0
authored
Feb 17, 2016
by
khofeditz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- parameter transition/place_key was missing (export_vars?) -> would block access to actions
parent
56c9c5f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
graph-procs.tcl
tcl/graph-procs.tcl
+17
-2
No files found.
tcl/graph-procs.tcl
View file @
19f358a0
...
...
@@ -116,6 +116,11 @@ ad_proc wf_decorate_workflow {
}
{
upvar 1
$workflow
_varname workflow
# ad_return_complaint xx [array get workflow
]
# foreach {key value
}
[
array
get workflow
]
{
# ds_comment "key: $key, value: $value"
#
}
#####
#
# Establish links for the graph
...
...
@@ -129,7 +134,8 @@ ad_proc wf_decorate_workflow {
switch
$mode
{
normal
{
set transition_link
"define?
[
export_vars -url
{
format mode
}]
&"
# set transition_key
$workflow
(
transition,$transition_key,transition_key
)
set transition_link
"define?
[
export_vars -url
{
format mode transition_key
}]
&"
set place_link
"define?
[
export_vars -url
{
format mode
}]
&"
}
arcadd
{
...
...
@@ -196,10 +202,19 @@ ad_proc wf_decorate_workflow {
foreach type
{
transition place
}
{
foreach key
$workflow
(
${type}
s
)
{
if
{
[
empty_string_p
$onlylink
]
}
{
# set workflow
(
$type
,$key,url
)
[
ad_decode
\
#
[
set
${type}
_link
]
\
#
""
""
\
#
"
[
set
${type}
_link
][
export_vars -url
{
workflow_key
${type}
_key=
[
ns_urlencode
$key
]}]
"
]
eval
"set
${type}
_key
[
ns_urlencode
$key
]
"
set par
[
list
]
lappend par workflow_key
"
${type}
_key"
set workflow
(
$type
,$key,url
)
[
ad_decode
\
[
set
${type}
_link
]
\
""
""
\
"
[
set
${type}
_link
][
export_vars -url
{
workflow_key
${type}
_key=
[
ns_urlencode
$key
]}
]
"
]
"
[
set
${type}
_link
][
export_vars -url
$par
]
"
]
}
else
{
set workflow
(
$type
,$key,url
)
{}
}
...
...
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