Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #1350: 1350.2.patch

File 1350.2.patch, 0.9 kB (added by andrew, 1 year ago)

fixed my fat fingers, didn't know how to delete old patch

  • src/web/org/openmrs/web/filter/initialization/InitializationFilter.java

    old new  
    545545                         
    546546                        // start openmrs 
    547547                        try { 
     548                                Context.openSession(); 
    548549                                Context.startup(runtimeProperties); 
    549550                        } 
    550551                        catch (DatabaseUpdateException updateEx) { 
     
    642642                         
    643643                        // set this so that the wizard isn't run again on next page load 
    644644                        initializationComplete = true; 
     645                        Context.closeSession(); 
    645646                         
    646647                        // TODO send user to confirmation page with results of wizard, location of runtime props, etc instead? 
    647648                        httpResponse.sendRedirect("/" + WebConstants.WEBAPP_NAME);