{"v":[{"id":2920,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/209#issuecomment-2920","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/209","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Built in 5d9b526.\n\n**What happens now when a visit form can't be printed**\n- The problem is recorded once, however many times \"Try generating again\" is pressed; repeats add to a count. The record names the form, the fields involved and the generator's full message, including the PDF tool's error output. It never includes the client's answers.\n- The person at the visit sees only \"This form couldn't be printed.\" I left out \"You can carry on with the rest of the visit\": one failed form stops the client from reviewing and signing, so that sentence wouldn't have been true.\n- Superusers have a new **Form Failures** page in Superuser Tools. It shows each problem with where and how often it happened, plus links to recent visits in the current agency. \"Mark fixed\" takes an optional note. If the problem happens again, it reopens and is flagged \"Came back after a fix\".\n- People subscribed to **Notify: a visit form couldn't be printed** 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.\n\nThe questions from the issue are settled. Only failures at real visits are recorded; proofs on the publishing screens don't go through this path. The email goes to whoever holds the new subscription.\n\n**To deploy**\n1. `php scripts\/migrate.php --apply`\n2. `php scripts\/sync-perms.php --apply`\n3. Give the \"Notify: a visit form couldn't be printed\" subscription to whoever should get the emails.","assets":[],"created_at":"2026-11-06T10:42:22-06:00","updated_at":"2026-11-06T10:42:22-06:00"}]}