Skip to content

fix: Condition observations not relayed when durableRelay is enabled#177

Open
Pranay265 wants to merge 1 commit into
TrakHound:masterfrom
Pranay265:fix/condition-observations-durable-relay
Open

fix: Condition observations not relayed when durableRelay is enabled#177
Pranay265 wants to merge 1 commit into
TrakHound:masterfrom
Pranay265:fix/condition-observations-durable-relay

Conversation

@Pranay265
Copy link
Copy Markdown
Contributor

When durableRelay: true, the Condition category observations were not getting relayed. the durable condition code path passes raw IObservationOutput objects directly to MTConnectMqttEntityServer.CreateMessage, which requires observations.DataItem.Device to be set. These raw outputs have Device == null , so CreateMessage() returns null → throws → silently swallowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Reviewing

Development

Successfully merging this pull request may close these issues.

2 participants