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

[FormRecognizer] Service returning 'expirationDateTime' on 2022-08-31 #35809

Closed
kinelski opened this issue Apr 25, 2023 · 0 comments · Fixed by #37618
Closed

[FormRecognizer] Service returning 'expirationDateTime' on 2022-08-31 #35809

kinelski opened this issue Apr 25, 2023 · 0 comments · Fixed by #37618
Assignees
Labels
Cognitive - Form Recognizer Service This issue points to a problem in the service.
Milestone

Comments

@kinelski
Copy link
Member

kinelski commented Apr 25, 2023

The latest Form Recognizer service preview (version 2023-02-28-preview) introduced a new property to some models: expirationDateTime. This new property is accidently being returned in an older service version: 2022-08-31, which is causing some of our tests to fail.

The service team has already been notified about this and a fix is expected to be rolled out in a couple of days.

Meanwhile, we have updated the validation in our tests to match the current behavior of the service. Affected validation methods are: AdministrationOperationsLiveTests.ValidateDocumentModelDetails and DocumentModelAdministrationLiveTests.BuildDocumentModel.

Once the service has fixed the issue, tests need to be updated again to reflect the expected behavior.

Important update: the service fixed the issue in calls to GetDocumentModel and GetDocumentModels, but it's still present in GetOperation. This caused new failures in tests DocumentModelAdministrationLiveTests.GetDocumentModel and DocumentModelAdministrationLiveTests.GetDocumentModels, so more assertions were commented out. These need to be updated as well once the service fixes the issue.

@kinelski kinelski added Service This issue points to a problem in the service. Cognitive - Form Recognizer labels Apr 25, 2023
@kinelski kinelski added this to the Backlog milestone Apr 25, 2023
@kinelski kinelski self-assigned this Apr 25, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Cognitive - Form Recognizer Service This issue points to a problem in the service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant