# Bug report: trigger node not passing the correct msg object

**URL:** <https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147>\
**Category:** General\
**Created:** [23 February 2020 14:21 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147 "2020-02-23T14:21:09Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [26 February 2020 21:06 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/21 "2020-02-26T21:06:05Z")

</div>

The master branch has been updated, the release has not.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [26 February 2020 21:07 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/22 "2020-02-26T21:07:18Z")

</div>

(This isn't going to do my credibility any good but.....)

Ok. So the bug has been fixed at the `github` level, but it hasn't reached the level where it updates via the palette manager - yes?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [26 February 2020 21:11 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/23 "2020-02-26T21:11:43Z")

</div>

I think that the trigger node is a functional node/part of node-red, don't think it installs separately via palette manager (not sure), but via a release.

But if you want to use all updates, you can clone the git repository and run it directly (not need to wait for a release). You could also only replace the code from the trigger node and update it in your currently running node-red instance for example (not a proper way but possible).

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [26 February 2020 21:15 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/24 "2020-02-26T21:15:34Z")

</div>

Thanks.

I'm a bit torn in what to do. Also surprised I hadn't found that bug myself either. Though I have to admit I don't use it much, so that is probably why.

For now I'll leave well enough alone.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 February 2020 21:18 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/25 "2020-02-26T21:18:59Z")

</div>

> [@Trying\_to\_learn](#):
>
> urprised I hadn't found that bug myself

It will only matter if successive messages to the Trigger node differ in contents _other_ than msg.payload. That is not particularly common as they generally come from the same source. If the use case where the bug matters was common then it would have been noticed a long time ago.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [26 February 2020 23:09 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/26 "2020-02-26T23:09:18Z")

</div>

Trigger is one of the core nodes so only updates when we release new versions of Node-RED. Luckily that will very soon. (fingers crossed)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 April 2020 23:09 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147/27 "2020-04-26T23:09:25Z")

</div>

Closed on 26 April 2020 23:09 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147.md?page=1)
