[Koha-bugs] [Bug 35681] Add support for colored messages in the output of updatedatabase

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 3 11:32:45 CET 2024


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #160443|0                           |1
        is obsolete|                            |

--- Comment #7 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 160447
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160447&action=edit
Bug 35681: [TEST ONLY]: This is a dummy dbrev to force an update

This patch adds an atomic update file and also an equivilent db_rev and
increments the Koha.pm version too.

Use it to test the output of updatedatebase, run via console or via the
browser.

Test plan
1) Start KTD without the patches applied.
2) Apply this test patch
3) Run the detabase updates via the console and confirm it looks
   reasonable and is colored.
4) Reset the database version in ktd
   `koha-mysql kohadev`
   `UPDATE systempreferences SET value = '23.1200002';`
5) Run the database updates via the browser;
  
`http://localhost:8081/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure`
6) Confirm the presence of weird looking escape characters on screen.
7) Apply the next patch and run through steps 3 to 5 again, this time
   confirming the browser output looks good.

Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>

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


More information about the Koha-bugs mailing list