Script for fixing Print issues in Chrome 58+

Purpose:

This script fixes the print issues that began after the upgrade to Chrome version 58. This is a manual patch for any existing fields that had updated/installed endTB release 2.0.2 prior to the Bahmni product team updating the 0.88 RPM.

Do I need this fix?

(The following advice applies once the Bahmni 0.88 RPM has been updated to include the permanent fix - completed on 2017-08-03)

If you are using endTB release 2.0.1 or earlier, please follow the instructions here to upgrade to endTB 2.0.2.

If you have already installed/upgraded to endTB release 2.0.2, then you do not need to reinstall Bahmni and can simply use the script below to patch the required files.

Steps to reproduce the problem :

  1. On a server running any version of EndTB, choose a patient.

  2. Go to the Patient Summary tab.

  3. Click on Print.

  4. Observe that the tables are not displayed correctly in the print preview.


Shell Script

Below is the shell script to be run on Bahmni server as a root user using below commands:

sudo su
wget https://bahmni.atlassian.net/wiki/download/attachments/117807841/PrintIssueFix_ChromeUpgrade.sh
sh PrintIssueFix_ChromeUpgrade.sh

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)