[ http://mifosforge.jira.com/browse/MIFOS-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Vorburger updated MIFOS-5089: ------------------------------------- Summary: Reports are not working on windows in a deployed WAR (was: Reports are not working on windows when using new workspace setup and creating a WAR that is then deployed) Issue summary slightly edited, to simplify & clarify that this bug is about "Reports not working under Windows" (from a WAR, which it will always be, in Prod). This had been broken since the Workspace 2.0 changes in the code branch a few months ago. Found a fix late last night - what a pain that was! I had to take a different route than how this was done until now (i.e. change the MIFOS-4767 solution), and hacked something which copies the *.rptdesign etc. to a temporary directory on the file system on start-up. _Tech note, functional versifiers please ignore: BIRT's internal look-up code is a mess IMHO, with a horrible mix of java.io.File & URL & String-based Path concatenation, and despite them having wanted to support ServletContext and Claspath-based look-up, I could't get it to work in both the workspace and packaged WAR under Win and *NIX. If only every framework & tool had a clean abstraction à la org.springframework.core.io.Resource... ;)_ I'll commit the proposed change on a hudsonBuild branch tonight, and over to Keith for a functional verification and then merge into master (we agreed by email). What Fix Version should this be set to? > Reports are not working on windows in a deployed WAR > ---------------------------------------------------- > > Key: MIFOS-5089 > URL: http://mifosforge.jira.com/browse/MIFOS-5089 > Project: mifos > Issue Type: Bug > Components: Reports Module > Affects Versions: Release 2.2 > Reporter: keithwoodlock > Assignee: Michael Vorburger > Priority: Major > Fix For: Unscheduled > > > The BIRT reports accessed through the application do not work on windows with > the new setup when a WAR is created and dropped into jetty 7.1.3. (it does > work when simply using application straight from eclipse workspace) > The report file : > file:/C:/Users/keith/AppData/Local/Temp/jetty-0.0.0.0-8080-mifos.war-_mifos-any-/webapp//birt//report/CollectionSheetReport.rptdesign > does not exist or contains errors. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Mifos-issues mailing list Mifos-issues@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-issues