mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #568] BUG: Checks not passing value properly #361
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#361
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghosty212 on GitHub (Jun 11, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/568
Originally assigned to: @wh1te909 on GitHub.
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
Script Variables cannot be used in script checks. Using {{agent.name}} or {{site.name}} in a script check leads to the variable being {agent.name} or {site.name} instead of the actual agent.name or site.name. Same for custom fields.
To Reproduce
Steps to reproduce the behavior:
1.
Client: {client.name}Expected behavior
Output should be the actual value of client.name. Like it is when running the script via "run script" or as automated task.
Additional context
there was a similiar bug with automated tasks before and fixed in #514
@wh1te909 commented on GitHub (Jun 12, 2021):
thanks for finding this, fixed and will be in next release
@wh1te909 commented on GitHub (Jun 12, 2021):
released in 0.6.15
@cm-slu commented on GitHub (Jun 13, 2021):
I just tested it works.
Thanks the team.