Registration Card Print is Not Working in IE 11

Need some help with printing registration card. When I click on any of the print options from registration app - I get an hour glass spinning forever. It used to work fine few weeks ago.

Is anyone else having this issue?

can you share the tomcat logs in paste bin here??

Thanks for your quick response. i don’t have access to the server right now. I will grab the log tomorrow and share. When you say Tomcat log are you referring to openmrs log, client-side log or the httpd log?

openmrs log would give more details as in the server side logs

Here is the client-side log - 2019-04-12 00:49:40,480 - client_side - ERROR - Client IP : 66.216.224.23, Post Data : {“timestamp”:“2019-04-11T19:19:39.825Z”,“browser”:“Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; wbx 1.0.0; rv:11.0) like Gecko”,“errorUrl”:“https://13.59.151.89/bahmni/home/index.html#/login",“errorMessage”:"TypeError: Object doesn’t support property or method ‘includes’”,“stackTrace”:["{anonymous}()@https://13.59.151.89/bahmni/home/home.min.d114e9e2.js:3:10672","{anonymous}()@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:2:25710",“r.prototype.$eval@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:3:1023”,“r.prototype.$digest@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:2:31623”,“r.prototype.$apply@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:3:1323”,“g@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:2:9736”,“R@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:2:11873”,“v.onload@https://13.59.151.89/bahmni/components/angular/angular.min.9324788c.js:2:12418”],“cause”:""}

Here is the log from /opt/openmrs/log 12-04-2019 00:48:05 [WARN ] HibernateConceptDAO - No concept found for ‘REGISTRATION_CONCEPTS’ 12-04-2019 00:49:55 [WARN ] HibernateConceptDAO - No concept found for ‘REGISTRATION_CONCEPTS’ 12-04-2019 00:51:35 [WARN ] HibernateConceptDAO - No concept found for ‘REGISTRATION_CONCEPTS’ 12-04-2019 01:05:37 [WARN ] HibernateConceptDAO - No concept found for ‘REGISTRATION_CONCEPTS’ 12-04-2019 01:34:26 [WARN ] HibernateConceptDAO - No concept found for ‘REGISTRATION_CONCEPTS’

from the client side log , u seem to have posted an invalid attribute in your json data.

and does this only happen in IE 11?? what of chrome??

How do I find the invalid attribute ?

@kuhelica, does the error only occur when running with IE?? can you try chrome ??

Bahmni officially does not support IE as such. There are lots of HTL5 attributes that are not supported in IE11.

If only for print, then possibly you can define your own print template (bahmni allows that) and add IE11 specific HTML elements/attributes. However, chances are in other places you will require many changes - both in normal display and prints. For your specific purpose, check the errors in console (also can use the IE developer tools)

Thanks a lot. I will try out your suggestions.