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
and if a property is no longer present the Broker must remove it
It might be worth creating tests that check that OrderItem fields can indeed be removed as is described here. This has actually specifically come up in work I've done, where a faulty SQL query meant that keys were not being successfully removed from a JSON object. This issue was not noticed by Test Suite.
Afaict, it only makes sense that these OrderItem fields could be removed:
accessPass
accessCode
accessChannel
additionalProperty
cancellationMessage
customerNotice
And, for OrderItem in OrderProposal (I haven't looked into this in as much detail so please correct me if any of these fields are required within an OrderProposal's OrderItem):
attendeeDetailsRequired
attendee
orderItemIntakeForm
orderItemIntakeFormResponse
An example of the kind of scenario that these tests would protect against: A system accidentally broadcasts a customerNotice to all its customers' Orders which contains personal data. Are they able to delete it?
The Test Interface would need a change too. Options:
Update existing actions like CustomerNoticeSimulateAction to be able to omit the field and have that treated as a removal of the field
Create new actions to remove each removable field
The text was updated successfully, but these errors were encountered:
According to the Open Booking API spec, §8.4.4:
It might be worth creating tests that check that OrderItem fields can indeed be removed as is described here. This has actually specifically come up in work I've done, where a faulty SQL query meant that keys were not being successfully removed from a JSON object. This issue was not noticed by Test Suite.
Afaict, it only makes sense that these OrderItem fields could be removed:
And, for OrderItem in OrderProposal (I haven't looked into this in as much detail so please correct me if any of these fields are required within an OrderProposal's OrderItem):
An example of the kind of scenario that these tests would protect against: A system accidentally broadcasts a
customerNotice
to all its customers' Orders which contains personal data. Are they able to delete it?The Test Interface would need a change too. Options:
CustomerNoticeSimulateAction
to be able to omit the field and have that treated as a removal of the fieldThe text was updated successfully, but these errors were encountered: