[Koha-bugs] [Bug 13068] New feature for DB update and sandbox

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 29 15:41:42 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13068

--- Comment #33 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 32919
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32919&action=edit
Bug 13068: Db rev for new syspref DevUpdateControl

This patch updates sysprefs.sql and admin.pref for the new syspref
DevUpdateControl.
Also it adds a atomic update file to insert the pref.

NOTE FOR SIGNOFF: If you did not yet create this pref manually when testing
this feature, updatedatabase will not yet pickup this db rev (since it is in
PROD mode by default). See test plan.

NOTE TO RM: Please add the atomic update 13068 to updatedatabase.pl by
pasting the next line and correcting the version(!):
ExecDBRev( $aupd, '13068', 'New syspref DevUpdateControl',
'13068_DevUpdateControl.sql', '3.17.00.???');
And indeed, update kohaversion.pl.

Test plan:
[1] Run sysprefs.sql (perhaps partially?). Delete the pref again.
[2] Add the above line to updatedatabase and correct the version.
    Also update kohaversion.pl.
    Run updatestructure. Did you see the DevUpdateControl dbrev?
    Remove the line again from updatedatabase. Reset kohaversion.pl.
[3] Run updatestructure again. Nothing to be done (PROD mode).
[4] Change to ALWAYS mode. Warning for double insert is expected.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list