https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41663

--- Comment #6 from Lucas <[email protected]> ---
Created attachment 191719
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191719&action=edit
Bug 41663: Update system preferences default values

This patch replace default values from '' to '0' for all system preferences
which
type is 'YesNo' avoiding warning messages to be displayed in 'About Koha' page.

To test:

1 - Initialize a fresh instance of ktd, using main as the default branch in the
Koha repository.

2 - Run git reset --hard 24.11.x.

3 - Run ktd --shell to enter the container.

4 - Run reset_all to downgrade the database to 24.11.

5 - Exit the shell and run git reset --hard origin/main to switch back to the
latest version of Koha.

6 - Run ktd --shell again to re-enter the container.

7 - Run updatedatabase && yarn build to apply the upgrade.

8 - Go to localhost:8081 (or the assigned port for the admin interface) -> More
-> 'About Koha' -> 'System information'
    and you should be able to see the warning messages

9 - Repeat steps 1-4

10 - Exit the shell and apply this patch

11 - Repeat steps 6-8

12 - Congrats! You shouldn't see the related warnings anymore!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to