Open zzhxiaofeng opened 3 years ago
@zzhxiaofeng Thanks for raising the issue! We will evaluate it.
We welcome contribution to Azurite. It would be great if you could contribute the the fix of this issue.
azsdk-azurite
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Error Description: The error returned in azurite is inconsistent with the one in azure cloud when create and resize page blob with invalid page size. In azure, the error is shown as following: In azurite, the error is shown as following:
To Reproduce Please run the demo code as following:
Error Track: The reason maybe is that the check for create and resize page blob with invalid page size in Azurite is different from the one in Azure. The check code is shown as following: https://github.com/Azure/Azurite/blob/master/src/blob/handlers/PageBlobHandler.ts#L75
Expected Behavior The error returned in azurite is consistent with the one in azure cloud when create and resize page blob with invalid page size.
@jongio for notification.