https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35288 --- Comment #13 from Mark Hofstetter <mark@hofstetter.at> --- Created attachment 211463 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211463&action=edit Bug 35288: Add unit tests and fix framework default modes Cover all four modes and plugin overrides; fix edit-mode and import detection. Test plan: 1. Apply attachment 196021, then this follow-up. 2. Install the demo plugin below, but leave it disabled. 3. Create a record with 245$a "My Title" and enable all ApplyFrameworkDefaults options. 4. Edit the record and change its framework: the title must stay unchanged. 5. Enable the plugin and repeat step 4: expect "My Title added". 6. Reopen the record without changing its framework: no title change. 7. Run: prove -l t/db_dependent/Koha/UI/Form/Builder/Biblio.t All tests must pass, including mode detection and disabled defaults. 8. Sign off. Demo plugin: https://github.com/HKS3/hks3-munde-framework-defaults-demo/blob/main/hks3-mu... Assisted-by: Codex (OpenAI) -- You are receiving this mail because: You are watching all bug changes.