Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009991Openbravo ERP01. General setuppublic2009-07-22 10:052009-08-19 00:00
networkb 
alostale 
highminoralways
closedfixed 
10
2.50MP1 
2.50MP5pi 
OBPS
Core
No
0009991: The xml files generating when exporting a language can not be deleted until the tomcat is stoped
The xml files generating when exporting a language can not be deleted until the tomcat is stoped.
-Login as system admiistrator
-Go to langage window and select one language and check as system language
-Execute verify language process
-Go to import/export language window.
-Export the new language
-Go to the attachments/lang/newlanguage folder and try to delete the xml generated to the new language.
-You will not able until you stop tomcat
In org.openbravo.erpCommon.ad_forms.Translation.java
the outputstream is not close
Go to the line 577 (method exportTable)
and after the line
 transformer.transform(source, new StreamResult(osw));
add the following
      osw.close();
No tags attached.
Issue History
2009-07-22 10:05networkbNew Issue
2009-07-22 10:05networkbAssigned To => rafaroda
2009-07-22 10:05networkbOBNetwork customer => Yes
2009-07-23 18:01psarobeAssigned Torafaroda => alostale
2009-07-23 18:01psarobePriorityimmediate => high
2009-07-23 18:01psarobeStatusnew => scheduled
2009-07-28 06:51pjuvaraTarget Version => 2.50MP5
2009-07-28 07:18hgbotCheckin
2009-07-28 07:18hgbotNote Added: 0018644
2009-07-28 07:18hgbotStatusscheduled => resolved
2009-07-28 07:18hgbotResolutionopen => fixed
2009-07-28 07:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9af7a895a9ea433fb887675435e125aa186e9b2e [^]
2009-08-18 14:21sureshbabuStatusresolved => closed
2009-08-18 14:21sureshbabuNote Added: 0019004
2009-08-18 14:21sureshbabuFixed in Version => pi
2009-08-19 00:00anonymoussf_bug_id0 => 2839887

Notes
(0018644)
hgbot   
2009-07-28 07:18   
Repository: erp/devel/pi
Changeset: 9af7a895a9ea433fb887675435e125aa186e9b2e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 28 07:18:05 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9af7a895a9ea433fb887675435e125aa186e9b2e [^]

fixed bug 0009991: The xml files generating when exporting a language can not be deleted until the tomcat is stoped

---
M src/org/openbravo/erpCommon/ad_forms/Translation.java
---
(0019004)
sureshbabu   
2009-08-18 14:21   
Tested able to delete the file without stopping the tomcat.