CCALI / a2jdat

This repo hosts the distributable production version of the A2J Document Assembly Tool (DAT). The document assembly tool is an optional piece of software used for producing pdf documents at the end of A2J Author Guided Interviews.
https://www.a2jauthor.org
Other
3 stars 1 forks source link

Proxy error in console after assembly failed #114

Closed JessicaFrank closed 10 months ago

JessicaFrank commented 2 years ago

Author reported error with this interview Autorización para representación en mediación (1).zip, using these answer files (but can replicate with any answer file) answer - 2022-02-21T145730.860.zip

{"ok":false,"error":"context not created, page index is either wrong, or page is null"} appears when you test assemble from templates tab. Template fails to assemble completely, but silently, from within the template itself.

Console error: image

I downloaded the pdf from the All Files tab. It didn't look to have fillable fields, however I couldn't edit it because it required a password. Tried converting/editing it in Adobe Pro and PDFfill

I checked the variables in the template and they all looked as expected.

tobiasnteireho commented 2 years ago

Issue is fixed after flattening pdf https://a2j.org/guide/go/870f69de-a9f8-41fe-9e91-ee6fcda2bc1d Autorización para representación en mediación.zip f

tobiasnteireho commented 2 years ago

I suspect the proxy error is a result of a 500 from express coming through apache or possibly an error issued by express due to the exception being thrown.

tobiasnteireho commented 10 months ago

related to #133