[Service Bus] Inconsistencies with errors when settling deferred message in ReceiveAndDelete mode #10395
Labels
blocking-release
Blocks release
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Service Bus
Milestone
In the below JavaScript code using Service Bus version 7.0.0-preview.4, we
The expectation is that the client throws a meaningful error as the message cannot be settled due to it being received in ReceiveAndDelete mode.
Inconsistent results:
TypeError: Cannot read property 'name' of undefined
error in below casesWhere as trying to settle a normal i.e. non deferred message received in ReceiveAndDelete mode gives a very useful error "Failed to complete the message as the operation is only supported in 'PeekLock' receive mode"
The text was updated successfully, but these errors were encountered: