Skip to content

Conversation

@BryceStevenWilley
Copy link
Contributor

Needs, since Tyler lets courts restrict individual document uploads, as well as the envelope as a whole, so adds a maximum_size_per_doc parameter that acts per document (which is needed so folks don't upload one file within the limit and then another one out of the limit on the second screen, which would be rejected by Tyler; this has happened in production recently).

Implementation tested in the MotionToStayEviction, added the param to the existing test_alexhibit_maxsize.yml test interview.

@BryceStevenWilley BryceStevenWilley self-assigned this Jan 15, 2026
@BryceStevenWilley BryceStevenWilley added enhancement New feature or request safety labels Jan 15, 2026
Needs, since Tyler lets courts restrict individual document uploads,
as well as the envelope as a whole, so adds a `maximum_size_per_doc` parameter
that acts per document (which is needed so folks don't upload one file within
the limit and then another one out of the limit on the second screen, which
would be rejected by Tyler; this has happened in production recently).
BryceStevenWilley added a commit to SuffolkLITLab/docassemble-MotionToStayEviction that referenced this pull request Jan 16, 2026
Uses the new `maximum_size_per_doc` param to the ALExhibits
object to limit the size of individual documents.

In order to attempt to account for the OCR'd layer on the PDF (which
is added after the user uploads their files), it makes the limit stricter
by 1 MB. Might not be enough, but it gets more difficult when the document
that is upload isn't the exact same one that we submit.

Depends on SuffolkLITLab/docassemble-AssemblyLine#1002.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request safety

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants