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.
When you have a text variable grouped with Ignore text overflow checked, but don't fill in an addendumLabel it will fail the assembly saying it's required in an error thrown in the DAT / Node console. If you add a label it will render/work, even though it should not care about a label.
Sometimes other instances of grouped text variables have an addendumLabel set in the patch (matching the variable name) but don't show or render anything in the Variable modal. This may be a separate issue/edge case.
When you have a text variable grouped with
Ignore text overflow
checked, but don't fill in anaddendumLabel
it will fail the assembly saying it's required in an error thrown in the DAT / Node console. If you add a label it will render/work, even though it should not care about a label.Likely needs to be fixed in the patcher, or in code that calls the
patchMultilineText()
function call: https://github.com/CCALI/a2jdat/blob/950f801164b92321a6358c15d9db4b42d3cb2154/src/pdf/overlayer/patcher.js#L49Breakpoint for checking the patches and if they have an
addendumLabel
provided and are of typemulti-line-text
is here: https://github.com/CCALI/a2jdat/blob/950f801164b92321a6358c15d9db4b42d3cb2154/src/pdf/overlayer/validate.js#L109Sometimes other instances of grouped text variables have an
addendumLabel
set in the patch (matching the variable name) but don't show or render anything in the Variable modal. This may be a separate issue/edge case.Attached sample of failing Variable setup: