| Summary: | Wrong path for fix_tags_weight.pl in updatedatabase.pl | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Component: | Installation and upgrade (command-line installer) | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Status: | CLOSED WONTFIX | QA Contact: | Testopia <testopia> |
| Severity: | minor | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 21846 | ||
| Bug Blocks: | |||
|
Description
Tomás Cohen Arazi (tcohen)
2019-06-05 17:31:03 UTC
There are other occurrences of the pattern in the updatedatabase script:
my $upgrade_script = C4::Context->config("intranetdir") . "/installer/data/mysql/labels_upgrade.pl";
my $upgrade_script = C4::Context->config("intranetdir") . "/installer/data/mysql/patroncards_upgrade.pl"
There are other places where we don't give a full path, which seems common in other places like the GUI as well:
print "If you have records with ean, please run misc/batchRebuildBiblioTables.pl to populate bibliotems.ean\n" if (C4::Context->preference("marcflavour") eq 'UNIMARC');
Would you be ok with changing it to the latter or can we make it work nicely for all installation types?
This is quite old now, so harder to fix/test, maybe more something to keep in mind for the future? |