Summary: | Checksum mismatch when regenerating schema | ||
---|---|---|---|
Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
Component: | Architecture, internals, and plumbing | Assignee: | Kyle M Hall (khall) <kyle> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | blocker | ||
Priority: | P5 - low | CC: | brendan, julian.maurice |
Version: | unspecified | ||
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: | ||
Circulation function: | |||
Bug Depends on: | 9303, 13624 | ||
Bug Blocks: | 15517 | ||
Attachments: |
Bug 15478 - Checksum mismatch when regenerating schema
Bug 15478 - Update the remaining schema files that do not match the db schema Bug 15478 - Update the remaining schema files that do not match the db schema Bug 15478 - Checksum mismatch when regenerating schema Bug 15478 - Update the remaining schema files that do not match the db schema |
Description
Kyle M Hall (khall)
2016-01-06 12:03:57 UTC
Created attachment 46317 [details] [review] Bug 15478 - Checksum mismatch when regenerating schema When regenerating the db schema on master, the script will error out with a checksum mismatch on Borrower.pm, and also DeletedBorrower.pm Test Plan: 1) Check out master 2) Run ./misc/devel/update_dbix_class_files.pl 3) Note the error 4) Apply this patch 5) Re-reun ./misc/devel/update_dbix_class_files.pl 6) Note there is no error Created attachment 46318 [details] [review] Bug 15478 - Update the remaining schema files that do not match the db schema Created attachment 46320 [details] [review] Bug 15478 - Update the remaining schema files that do not match the db schema Why are these patches already in master ? (status is Needs Signoff) BTW in master there is still the first version of the 2nd patch, so when I receive a new serial I have a fatal error: DBIx::Class::ResultSet::new(): No such column serialseq_z on Koha::Schema::Result::Serial at /home/koha/src/Koha/Object.pm line 59 (In reply to Julian Maurice from comment #4) > Why are these patches already in master ? (status is Needs Signoff) > BTW in master there is still the first version of the 2nd patch, so when I > receive a new serial I have a fatal error: > > DBIx::Class::ResultSet::new(): No such column serialseq_z on > Koha::Schema::Result::Serial at /home/koha/src/Koha/Object.pm line 59 Patches were pushed inadvertently, I've revert them in master. Created attachment 46386 [details] [review] Bug 15478 - Checksum mismatch when regenerating schema When regenerating the db schema on master, the script will error out with a checksum mismatch on Borrower.pm, and also DeletedBorrower.pm Test Plan: 1) Check out master 2) Run ./misc/devel/update_dbix_class_files.pl 3) Note the error 4) Apply this patch 5) Re-reun ./misc/devel/update_dbix_class_files.pl 6) Note there is no error Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Created attachment 46387 [details] [review] Bug 15478 - Update the remaining schema files that do not match the db schema Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Considering the triviality of the issue, I think we can jump this to Passed QA. Please knock it back down if you disagree. Pushed to master Does not concern stable versions, changing status to RESOLVED |