Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Jobs/Reconfigure not working as expected #1037

Closed
2 tasks
bernieanger opened this issue Jun 21, 2018 · 0 comments
Closed
2 tasks

Jobs/Reconfigure not working as expected #1037

bernieanger opened this issue Jun 21, 2018 · 0 comments
Assignees

Comments

@bernieanger
Copy link

bernieanger commented Jun 21, 2018

Type of issue

  • [x ] Bug
  • New feature
  • Enhancement

Description

When issuing a "Reconfigure" Job on a physical device with a single Property of type Number the value set by the UI to the "DesiredProperties" section of the Digital Twin is set as a Text field (quoted value), even though it had been correctly identified as a Number in the UI

As a side effect, from that point on the property displays as "SyncingTo" ... as there will be a type mismatch
...

Steps to reproduce

  1. [First step]
    Create a new physical device with a Digital Twin that includes a numeric property

  2. [Second step]
    In the RMD UI, schedule a job for the newly created device that Reconfigures the properties for the new device, and set a new value for the numeric property

  3. [and so on...]
    Submit the job & wait until it completes

Expected behavior

The desired property would be updated as a numerical value

Current behavior <!-- The actual behavior observed --

The desired property is reported a a string

Known workarounds

...

Possible solution

...

Context and Environment

  • Operating System: ...
    dot-net version, solution accelerator installed from the web ui

  • GitHub branch/tag: ...
    :testing (verified by looking into the VM)

Screenshot

Sample:

"properties": {
"desired": {
"Latitude": 38.663,
"Longitude": -78.4509,
"CargoHumidity": 0,
"CargoTemperature": 0,
"Type": "Container21",
"RPMSpeed": "3500",
...

"reported": {
  "CargoHumidity": 0,
  "CargoTemperature": 0,
  "RPMSpeed": 3500,
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants