zap icon indicating copy to clipboard operation
zap copied to clipboard

When refreshing the zap files, the device type ambiguity leads to extra row in the JOIN, resulting in an extra endpoint type

Open tecimovic opened this issue 3 years ago • 3 comments

Attempt to refresh any of the zap files that contain one of the knowingly ambiguous device types. Observe another endpoint type being created.

This is a result of a query in exportEndpointTypes() in query-impexp.js

tecimovic avatar Dec 01 '21 15:12 tecimovic

Initially fix this by using DISTINCT, but we really need to solve the problem of not having unambiguous externalized data point for device types. If it goes on like this, we will have to invent a UUID for device types.

tecimovic avatar Dec 01 '21 15:12 tecimovic

See https://github.com/project-chip/zap/issues/196

tecimovic avatar Dec 01 '21 16:12 tecimovic

Needs to be tested and closed if no longer an issue

brdandu avatar Jan 30 '23 17:01 brdandu