[Koha-devel] [Bug 85] New: koha.upgrade squashes custom templates

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Wed Sep 4 11:49:05 CEST 2002


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=85

           Summary: koha.upgrade squashes custom templates
           Product: Koha
           Version: 1.2.3
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Installation
        AssignedTo: tonnesen at cmsd.bc.ca
        ReportedBy: tonnesen at cmsd.bc.ca
         QAContact: koha-devel at lists.sourceforge.net


koha.upgrade moves all existing files in the intranet directory to a backup
directory and then installs the new files in that location.  This means that
custom template files will not be in the new installation.  Koha.upgrade needs
to account for this in some way.

One solution would be to not move the files out, and then just install the new
files over top of the old ones (after backing them up).  Disadvantage is that
any old files that were removed in the latest release will be left behind after
the upgrade.

Another solution would be to copy custom templates back from the backup location
to the new install after installing... could just go through the listing of
templates and copy any in that don't exist in the current install.  I think this
is probably the best solution...



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Koha-devel mailing list