[Koha-bugs] [Bug 34063] items.paidfor and deleteditems.paidfor still sometimes exist

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 7 16:33:54 CET 2024


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

--- Comment #10 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 161816
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161816&action=edit
Bug 34063: Add system information warning

If the table columns differ, we should at least provide a warning in the system
information tab of the about page.

Test plan:
1) Run the following SQL:
alter table deleteditems add column paidfor longtext;
2) visit the issue stats page:
/cgi-bin/koha/reports/issues_stats.pl
3) press 'Submit'
4) Notice it causes a 500 error.
5) Apply patch
6) Visit the about page and check the 'System information' tab
7) Notice the warning is there.
8) fix the issue, run
alter table deleteditems drop column paidfor;
9) Repeat steps 2+3 confirm it no longer errors
10) Repeat step 6 and notice there's no longer a warning

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


More information about the Koha-bugs mailing list