Closed arturohu closed 2 years ago
good catch, when updating the agent, we had to deal with the new expected internalAttributes format of the iot agent lib, will ensuring backward compatibility. while update and register device where updated correctly, delete was not.
@arturohu please confirm that the issue is solved :) thx
It seems to be working on master docker image!!!
Thank you!
After running a group provisioning, and reporting a device that automatically creates a device in IoTAgent-LoRaWAN, an error occurs when trying to delete it.
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
IoTAgent-LoRaWAN log:
I think it is because of the line:
https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN/blob/master/lib/iotagent-lora.js#L508
device.internalAttributes is an array. However, during provisioning _internalattributes is a dict on the examples.