https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383 --- Comment #69 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 209620 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209620&action=edit Bug 42383: (QA follow-up) Fix xt/tt_script_tidy.t for circ/checkin.tt xt/tt_script_tidy.t checks that inline <script> blocks of templates do not contain Template::Toolkit tags, unless they are explicitly allowed. circ/checkin.tt passes the module policy, the library and the table settings to the Vue app through a <script> block with TT tags, which made the test fail. This patch (QA comment point 8) marks that block with data-tt-allowed="true", like other templates (e.g. recalls/request.tt) do for script blocks that only expose server side values to JS. Test plan: 1. Run: $ ktd --shell k$ prove xt/tt_script_tidy.t => FAIL: The test fails for koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkin.tt 2. Apply this patch and repeat step 1 => SUCCESS: Tests pass 3. Restart and load the check-in page: $ ktd --shell k$ restart_all => SUCCESS: The page loads and items can be checked in 4. Sign off :-D Assisted-by: Opus 5.5 (Anthropic) -- You are receiving this mail because: You are watching all bug changes.