{"v":"<p dir=\"auto\">Built in 5d9b526.<\/p>\n<p dir=\"auto\"><strong>What happens now when a visit form can&#39;t be printed<\/strong><\/p>\n<ul dir=\"auto\">\n<li>The problem is recorded once, however many times &#34;Try generating again&#34; is pressed; repeats add to a count. The record names the form, the fields involved and the generator&#39;s full message, including the PDF tool&#39;s error output. It never includes the client&#39;s answers.<\/li>\n<li>The person at the visit sees only &#34;This form couldn&#39;t be printed.&#34; I left out &#34;You can carry on with the rest of the visit&#34;: one failed form stops the client from reviewing and signing, so that sentence wouldn&#39;t have been true.<\/li>\n<li>Superusers have a new <strong>Form Failures<\/strong> page in Superuser Tools. It shows each problem with where and how often it happened, plus links to recent visits in the current agency. &#34;Mark fixed&#34; takes an optional note. If the problem happens again, it reopens and is flagged &#34;Came back after a fix&#34;.<\/li>\n<li>People subscribed to <strong>Notify: a visit form couldn&#39;t be printed<\/strong> get an email the first time a problem appears and when one comes back after a fix, not on repeats. The email names the form, the kind of problem and the agency, with a link to the page.<\/li>\n<\/ul>\n<p dir=\"auto\">The questions from the issue are settled. Only failures at real visits are recorded; proofs on the publishing screens don&#39;t go through this path. The email goes to whoever holds the new subscription.<\/p>\n<p dir=\"auto\"><strong>To deploy<\/strong><\/p>\n<ol dir=\"auto\">\n<li><code>php scripts\/migrate.php --apply<\/code><\/li>\n<li><code>php scripts\/sync-perms.php --apply<\/code><\/li>\n<li>Give the &#34;Notify: a visit form couldn&#39;t be printed&#34; subscription to whoever should get the emails.<\/li>\n<\/ol>\n"}