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
Since the string value might be empty from specified device, we need to remove SimpleReading value required validation for empty string.
Closeedgexfoundry#753
Signed-off-by: bruce <[email protected]>
weichou1229
added a commit
to weichou1229/go-mod-core-contracts
that referenced
this issue
Apr 21, 2023
Since the string value might be empty from specified device, we need to remove SimpleReading value required validation for empty string.
Closeedgexfoundry#753
Signed-off-by: bruce <[email protected]>
🐞 Bug Report
Affected Services [REQUIRED]
The issue is located in:core-data
Is this a regression?
--
Description and Minimal Reproduction [REQUIRED]
When an event from a device service contains a reading with empty value for string type, the SimpleReading.Value validation fails.
🔥 Exception or Error
Remove the
required
validation ingo-mod-core-contracts/dtos/reading.go
Line 40 in f00d2ae
The value can still be checked by
go-mod-core-contracts/dtos/reading.go
Lines 286 to 288 in f00d2ae
🌍 Your Environment
Deployment Environment:
EdgeX Version [REQUIRED]:
main
Anything else relevant?
The text was updated successfully, but these errors were encountered: