Skip to content

SetValue task no longer completes #96

@spudwebb

Description

@spudwebb

There is an issue In the 4.0.0 version, the SetValue task no longer completes because an exception is raised in the callback when deserializing SetValueResult.remainingDuration. This property should be an object not a string.
This was introduced by this change: 56730df#diff-76c8632781a63f6963902465bb9685462ccc23c6bec8a7ad1b2e5e01ec5b30ba
Before this change the wrong object was deserialized to SetValueResult, so the problem did not show up.

I created a quick patch as I needed a fix ASAP
spudwebb@c7de77c

But I want to create a larger refactoring of all the commands methods, so that exceptions raised in the callbacks do not prevent the task to complete. I will create a PR when it's ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions