Summary: | Letters.t: Foreign key exception if you do not have a numberpattern with id=1 | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | Test Suite | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Marcel de Rooy <m.de.rooy> |
Severity: | normal | ||
Priority: | P5 - low | CC: | jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.05.00,22.11.06
|
|
Circulation function: | |||
Attachments: |
Bug 33403: Fix Letters.t if number pattern with id=1 does not exist
Bug 33403: Fix Letters.t if number pattern with id=1 does not exist |
Description
Marcel de Rooy
2023-04-04 13:13:48 UTC
Created attachment 150963 [details] [review] Bug 33403: Fix Letters.t if number pattern with id=1 does not exist Bad assumption in DB, we should create the data we need Test plan: > delete from subscription_numberpatterns; prove t/db_dependent/Letters.t Created attachment 150965 [details] [review] Bug 33403: Fix Letters.t if number pattern with id=1 does not exist Bad assumption in DB, we should create the data we need Test plan: > delete from subscription_numberpatterns; prove t/db_dependent/Letters.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> SO + QA Pushed to master for 23.05. Nice work everyone, thanks! Nice work everyone! Pushed to stable for 22.11.x |