Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rule-engine
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
intranet-rule-engine
Commits
7a22aa4c
Commit
7a22aa4c
authored
Feb 14, 2018
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed issue in rule-engine
parent
dc797571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
intranet-rule-engine-procs.tcl
tcl/intranet-rule-engine-procs.tcl
+4
-1
No files found.
tcl/intranet-rule-engine-procs.tcl
View file @
7a22aa4c
...
@@ -260,6 +260,7 @@ ad_proc im_rule_callback {
...
@@ -260,6 +260,7 @@ ad_proc im_rule_callback {
set new
(
sender_first_names
)
$sender
_first_names
set new
(
sender_first_names
)
$sender
_first_names
set new
(
sender_last_name
)
$sender
_last_name
set new
(
sender_last_name
)
$sender
_last_name
set new
(
sender_email
)
$sender
_email
set new
(
sender_email
)
$sender
_email
set new
(
user_id
)
$sender
_user_id
set env
[
list
[
array
get old
]
[
array
get new
]
[
array
get changed
]]
set env
[
list
[
array
get old
]
[
array
get new
]
[
array
get changed
]]
...
@@ -339,8 +340,10 @@ ad_proc im_rule_callback_fire_action {
...
@@ -339,8 +340,10 @@ ad_proc im_rule_callback_fire_action {
array set changed
[
lindex
$env
2
]
array set changed
[
lindex
$env
2
]
set new
(
rule_id
)
$rule
_id
set new
(
rule_id
)
$rule
_id
# ad_return_complaint 1 [array get new
]
# Execute the action - copied from /ds/shell
# Execute the action - copied from /ds/shell
if
{[
catch
{
set
out
[
uplevel
1
$action
_tcl
]}]}
{
if
{[
catch
{
set
out
[
uplevel
0
$action
_tcl
]}]}
{
global errorInfo
global errorInfo
set out
"ERROR:
\n
$error
Info"
set out
"ERROR:
\n
$error
Info"
set out
"ERROR:
\n
$error
Info"
set out
"ERROR:
\n
$error
Info"
...
...
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