You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java runtime used: openjdk version "17.0.10" 2024-01-16
SDK version used: 2.3.0
Description of the issue
This issue is about compatibility between version 1.x and 2.x.
Behavior in version 1.x:
Sending message to $iothub/twin/PATCH/properties/reported/# mqtt topic (sendReportedProperties method) without version resulted in no error and client was getting a 200 (OK) response on topic $iothub/twin/res/200/
Behavior in version 2.x:
Sending message to $iothub/twin/PATCH/properties/reported/# mqtt topic (sendReportedProperties method) without version results in error and client was getting a 412 (PRECONDITION_FAILED) response on topic $iothub/twin/res/412/
So upgrade to version 2.x causes unnecessary changes for users of client library. Forcing them to manage reported properties version, which can be problematic due to asynchronous and distributed nature of system.
This is a request for reverting behavior to the one present in 1.x version of client.
The text was updated successfully, but these errors were encountered:
dzakub
changed the title
[Bug Report] Verision 2.x of iot-device-client, requires version of reported properties to, be send while 1.x
[Bug Report] Version 2.x of iot-device-client, requires version of reported properties to be sent, while 1.x not
Feb 23, 2024
dzakub
changed the title
[Bug Report] Version 2.x of iot-device-client, requires version of reported properties to be sent, while 1.x not
[Bug Report] Version 2.x of iot-device-client, requires version of reported properties to be sent, while 1.x not requires that
Feb 23, 2024
dzakub
changed the title
[Bug Report] Version 2.x of iot-device-client, requires version of reported properties to be sent, while 1.x not requires that
[Bug Report] Version 2.x of iot-device-client, requires version of reported properties to be sent, while 1.x not require that
Feb 23, 2024
dzakub
added a commit
to dzakub/azure-iot-sdk-java
that referenced
this issue
Feb 23, 2024
…ying the version (#1779)
* Fixing issue: Version 2.x of iot-device-client, requires version of reported properties to be sent, while 1.x not require that #1776
* Add integration test for updating reported properties without version
Remove some duplicated logic around building a topic string for subscribing to desired properties from MQTT layer
---------
Co-authored-by: dzakub <jakubowski.bartosz@gmail.com>
Context
Description of the issue
This issue is about compatibility between version 1.x and 2.x.
Behavior in version 1.x:
Sending message to
$iothub/twin/PATCH/properties/reported/#
mqtt topic (sendReportedProperties method) without version resulted in no error and client was getting a 200 (OK) response on topic$iothub/twin/res/200/
Behavior in version 2.x:
Sending message to
$iothub/twin/PATCH/properties/reported/#
mqtt topic (sendReportedProperties method) without version results in error and client was getting a 412 (PRECONDITION_FAILED) response on topic$iothub/twin/res/412/
So upgrade to version 2.x causes unnecessary changes for users of client library. Forcing them to manage reported properties version, which can be problematic due to asynchronous and distributed nature of system.
This is a request for reverting behavior to the one present in 1.x version of client.
The text was updated successfully, but these errors were encountered: