Main Koha release repository https://koha-community.org
Find a file
Marcel de Rooy 0397251ece
Bug 33671: (follow-up) Disable FK check for column change
See also BZ report. As suggested by Tomas.

NOTE: The dbrev is extended too for removing records with a failing guarantor_id
foreign key (theoretically not present obviously).

Test plan:
1) cp installer/data/mysql/db_revs/220600048.pl installer/data/mysql/atomicupdate/
2) Run updatedatabase.pl
3) Remove copied file

Bonus:
Manually remove FK constraint before running updatedatabase.
Insert a record with bad guarantor_id into relationships manually.
Run the update again.
You should not see the message that the constraint is removed.
Is the bad record count reported and record removed?

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] Simplified. No longer removes the FK. Just disables during ALTER.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-07-18 14:07:43 -03:00
acqui
admin Bug 34261: Add missing argument to show_account 2023-07-14 15:23:16 -03:00
api Bug 30979: Fix xt/api.t 2023-07-14 16:52:02 -03:00
authorities
basket
bin
C4 Bug 33046: Use process_tt in C4::Reports::Guided::EmailReport 2023-07-18 14:07:41 -03:00
catalogue Bug 33047: Return 404 instead of 500 when biblio does not exist 2023-07-10 15:43:14 -03:00
cataloguing Bug 34288: Allow access to the cataloguing module with tools permission 2023-07-18 12:46:53 -03:00
circ Bug 34094: Use DefaultPatronSearchMethod consistently 2023-07-03 14:51:37 -03:00
clubs Bug 25079: Show club enrollment question answers in staff client 2023-06-23 11:00:54 -03:00
course_reserves
debian Bug 33776: Additional default plugin repo in koha-conf-site.xml.in 2023-07-11 08:52:30 -03:00
docs
erm
errors
etc Bug 34101: Limit items types that can be checked out via SIP2 2023-07-05 12:17:23 -03:00
ill
installer Bug 33671: (follow-up) Disable FK check for column change 2023-07-18 14:07:43 -03:00
Koha Bug 33270: (QA follow-up) Do not change param hashref 2023-07-18 12:47:00 -03:00
koha-tmpl Bug 31339: Add staff wrapper template include for tool plugins 2023-07-18 14:07:40 -03:00
labels
lib/CGI/Session/Serialize
members Bug 33271: Add collective owing message to moremember page 2023-07-03 14:51:41 -03:00
misc Bug 18855: Don't create duplicate overdue fines if an issue is returned 2023-07-06 10:08:44 -03:00
offline_circ
opac Bug 33956: Use Koha::Biblio->opac_summary_html from opac-user.pl 2023-07-13 15:19:39 -03:00
patron_lists
patroncards
plugins
pos
recalls
reports Bug 29664: (QA follow-up) Typo transacton 2023-07-03 14:51:36 -03:00
reserve
reviews
rotating_collections
serials Bug 33039: Add ability to specify a template for serial subscription "Published on (text)" field 2023-07-14 08:59:43 -03:00
services
skel
suggestion
svc Bug 33804: Use as_due_date to display due dates 2023-07-14 08:59:39 -03:00
t Bug 34303: Only perlcritic files from git repo 2023-07-18 14:07:42 -03:00
tags
tools Bug 33667: Allow copying holidays to all libraries when editing 2023-07-06 10:08:45 -03:00
virtualshelves
xt
.editorconfig Bug 27375: Set YAML file settings in .editorconfig 2021-11-03 15:40:52 +01:00
.eslintrc.json
.gitignore
.htaccess
.mailmap
.perlcriticrc
.perltidyrc
.proverc.dist
.stylelintrc.json
about.pl Bug 33934: Add more detail to 'No encryption_key in koha-conf.xml' 2023-06-07 15:25:18 -03:00
app.psgi
build-resources.PL
changelanguage.pl
cpanfile
cypress.json
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 30979: DBRev 23.06.00.009 2023-07-14 12:14:49 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
tsconfig.json
webpack.config.js
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo