mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-28 01:50:12 -04:00
If a letters that has been posted via the API has more than 10 pages it would not get a validation-failed status. This also happens for letters in a CSV upload, only the first row has been validated for having too many pages, because you need to created the pdf before getting an accurate page count. The API has been updated to mark these letters as invalid and move the letter to the invalid s3 bucket, the meta data is also set with the error message and page count. This PR updates the notification page to display the validation error. https://www.pivotaltracker.com/story/show/169209742