# \[BUG - 15580\] 8.0.7-nightly : alarm label with tag function in expression bad evaluated

**URL:** <https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [November 29, 2019, 8:42am UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317 "2019-11-29T08:42:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [November 29, 2019, 8:42am UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/1 "2019-11-29T08:42:27Z")

</div>

Ignition 8.0.7-nightly (27nov)

@Paul.Scott, @mgross  
I have alarm with this expression for the Label:

```auto
tag(concat("[default]",{itemPath},".tooltip"))

```

The label displayed in the designer and in the alarm’s component is wrong (default is used)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f84dac5e410a059122a73c288778044389485156.png)

If I change the expression to display the tagPath calculated in order to check it, it’s ok.

```auto
concat("[default]",{itemPath},".tooltip")

```

**The issue seem to be related to the usage of tag function in this context**

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6770d724dae24a83f7f176f927bd9ef2a4a7d7e5.png)

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [December 3, 2019, 8:47pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/2 "2019-12-03T20:47:52Z")

</div>

@mazeyrat I honestly can’t replicate the issue (on the nightly from today, and one from November 19th). Do you have any other details? Are you still seeing this behavior?

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [December 4, 2019, 10:23am UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/3 "2019-12-04T10:23:20Z")

</div>

When the alarm has the active state, the label field in the alarm component display the default alarm Name  
When I **ack** the alarm, the label field in the alarm component display the alarm Label.

I upgarded to the last 8.0.7-nightly and I have still the issue.

If I disable the alarm and then enable this alarm, the label field in the alarm component display the alarm Label =\> OK.

**I suspect that the issue is relative to the alarms triggered when the gateway start**

When I restart the gateway the Label field in the alarm component still not use the label value and display the alarm Name…

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [December 5, 2019, 12:10am UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/4 "2019-12-05T00:10:45Z")

</div>

> [@mazeyrat](#):
>
> I suspect that the issue is relative to the alarms triggered when the gateway start

Yep, that's the piece I was missing. Thanks for the report.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [December 5, 2019, 7:56pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/5 "2019-12-05T19:56:15Z")

</div>

Is there any chance that this bug will be fixed in the 8.0.7 timeline

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [December 5, 2019, 10:18pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/6 "2019-12-05T22:18:32Z")

</div>

Unlikely. Work on 8.0.7 is wrapping up as we transition to 8.0.8.  
As always, we’ll post once we have a fix ready in a nightly.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [January 6, 2020, 7:34pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/7 "2020-01-06T19:34:48Z")

</div>

Hi @Paul.Scott,  
this bug is quite annoying for us, we have upgraded our gateways in 8.0.7.  
Is the fix forecasted soon in the next nightly ?

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [January 7, 2020, 9:30pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/8 "2020-01-07T21:30:21Z")

</div>

> [@mazeyrat](#):
>
> Is the fix forecasted soon in the next nightly ?

Unfortunately no. I apologize for the trouble it's giving you, but there are a number of other tickets that are ahead of this one. As normal, we'll post once we have an update.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [January 8, 2020, 8:22am UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/9 "2020-01-08T08:22:12Z")

</div>

Thanks for the feedback.  
Hope this bug could be fix for the 8.0.8.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [February 25, 2020, 5:18pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/10 "2020-02-25T17:18:04Z")

</div>

@Paul.Scott, is the fix for the bug 15580 scheduled for 8.0.10 ?

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 2, 2020, 7:46pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/11 "2020-03-02T19:46:43Z")

</div>

@paul-griffith do you know if this bug is in the 8.0.10. Hope it is in the few bug not listed in your last changelogs

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 2, 2020, 7:49pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/12 "2020-03-02T19:49:01Z")

</div>

No, this hasn’t been fixed yet, and won’t make it into 8.0.10.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [April 20, 2020, 3:34pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/13 "2020-04-20T15:34:53Z")

</div>

@Paul.Scott,

I still have this issu in **8.0.10** with a little change since 8.0.9 or 8.0.8.  
Label displayed is **“-1”** in a first time when I start the gateway.  
And in a seond time if I toogle the alarm enable, it one goes with the right value returned by the tag expression:

```auto
tag(concat("[default]",{itemPath},".tooltip"))

```

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 1, 2020, 1:57pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/14 "2020-06-01T13:57:21Z")

</div>

@sreis, I still have this issue in **Ignition 8.0.12**.  
Do you have any information about the fix of this long awaiting bug  
First time the alarm occur, the label displayed in vision alarms components = **"-1"**  
If the alarm is cleared and again actived, the label is OK, the value is the result of the computed expression.  
When the label displayed is OK, if I disable and then enabled this alarm, the lable is -1.

As a side note: I don’t have the issue if the alarm label is binded to a constant value “myAlarmLabel”.

---

<div class="post-metadata">

**Author:** ![sreis](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sreis/32/14631_2.png) [@sreis](https://forum.inductiveautomation.com/u/sreis)\
**Post date:** [June 1, 2020, 11:38pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/15 "2020-06-01T23:38:15Z")

</div>

Hi @mazeyrat we went ahead and bumped this one up in priority.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 30, 2020, 10:41pm UTC](https://forum.inductiveautomation.com/t/bug-15580-8-0-7-nightly-alarm-label-with-tag-function-in-expression-bad-evaluated/30317/16 "2020-06-30T22:41:59Z")

</div>

The fix for this will be in the next nightly build/8.0.15.
