[BUG] [TABLES] TableBatchResponse.IsBatchSuccessful incorrect
See original GitHub issueDescribe the bug
When the TableTransactionBatch
is successfully processed, TableBatchResponse.IsBatchSuccessful
should be true, currently it returns false.
The error looks to be here, on line 21.
public bool IsBatchSuccessful => _requestLookup.Values.Any(r => r.Message.Response.Status >= 400);
Expected behavior
TableBatchResponse.IsBatchSuccessful
should be true.
Actual behavior (include Exception or Stack Trace)
TableBatchResponse.IsBatchSuccessful
is false.
To Reproduce
- Create a transaction batch.
- Execute against table.
- Validate response.
Environment:
- Azure.Data.Tables 3.0.0-beta2
- Windows 10, .NET Core 3.1.403
- Visual Studio 16.7.6
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
BatchGetItem - Amazon DynamoDB
The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key....
Read more >How Batch process works during the Error.
Insert with AllorNone parameter set to False. ... The first execute method successfully processed records, and this records committed to the ...
Read more >US6640244B1 - Request batcher in a transaction services ...
If an application based on a Netcentric architecture has already been successfully piloted or deployed, acceptance of additional systems will be eased. E2....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist.
@christothes Technically, yes it does. But I’m down to string parsing to get the error details out - and modify code paths accordingly. Seems a little… fragile.
Can you include the details as an object, similar to the success object where I can call
GetResponseForEntity
from theTableBatchResponse
?For example: