avniproject / avni-product

https://avniproject.org/
7 stars 9 forks source link

Downgrade maps version of Jasper report #1398

Closed mahalakshme closed 1 year ago

mahalakshme commented 1 year ago

Google maps in jasper reports were failing. Downgrading to 3.52 works, as verified by making changes in the jrxml file. We need to downgrade Google maps version for now in the jasperreport properties file - https://community.jaspersoft.com/wiki/how-specify-google-maps-version-jasperreports-server-version-640

Checkout "Reports/Maps/District wise heat map of maternal deaths" report under MDSR organisation in Jasper to reproduce the issue. Maps under Yenapoya org are individually fixed in jrxml files.

vinayvenu commented 1 year ago

@mahalakshme the version has been upgraded and maps are showing up, but I am not sure what else we are supposed to see here.

mahalakshme commented 1 year ago

@vinayvenu yeah it is working now. jrxml files will take map version from jasper properties only right? asking since for yenopoya they have updated the maps version in individual jrxml files and in future when we update jasper.properties, it should reflect in yenopoya as well, else the update made to jrxml file of yenopoya need to be removed.

did you upgrade or downgrade? to what version?

vinayvenu commented 1 year ago

@mahalakshme yes, it will pick up from the jasper properties file unless it is overridden in the jrxml.

I did not upgrade/downgrade. I put in the version that you had specified in the story.

mahalakshme commented 1 year ago

@vinayvenu okay then I will let the implementation team know to remove the overriden values in yenopoya that they ve made to fix some reports temporarily.

vinayvenu commented 1 year ago

webapp uploaded to https://github.com/avniproject/jasper in case there are other modifications.