Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad timestmap error should not progress to CB #1583

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- Add: `POST /iot/op/delete` operation to delete multiple devices at once (#1578)
- Fix: store device subscriptions updates (#1086)
- FIX: badtimestamp error should not progress to ContextBroker
fgalan marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions lib/services/ngsi/entities-NGSI-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ function sendUpdateValueNgsi2(entityName, measures, typeInformation, token, call
timestamp.value = plainMeasures[constants.TIMESTAMP_ATTRIBUTE];
} else {
callback(new errors.BadTimestamp(plainMeasures[constants.TIMESTAMP_ATTRIBUTE], entityName));
return;
}
} else if (!typeInformation.timezone) {
timestamp.value = new Date().toISOString();
Expand Down
Loading