Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010261Openbravo ERPY. DBSourceManagerpublic2009-08-13 09:402009-10-23 00:00
marvintm 
marvintm 
urgentmajorhave not tried
closedfixed 
10
2.40MP7 
2.40MP9 
Core
No
0010261: On Windows, database model files contain Windows end-of-line characters after doing export.database
On Windows, database model files contain Windows end-of-line characters after doing export.database. This can sometimes cause problems with the merge when upgrading an Openbravo instance.
Just do export.database on a Windows machine. Open the model files (src-db/database/model). The end of line characters should have been changed.
DBSourceManager needs to be changed so that it always generates standard end of line chars.
No tags attached.
depends on backport 00102672.40MP9 closed marvintm On Windows, database model files contain Windows end-of-line characters after doing export.database 
diff dbsm-main-always-linux-eol.diff (773) 2009-10-19 17:20
https://issues.openbravo.com/file_download.php?file_id=1863&type=bug
Issue History
2009-08-13 09:40marvintmNew Issue
2009-08-13 09:40marvintmAssigned To => marvintm
2009-08-13 18:03psarobePriorityimmediate => urgent
2009-08-13 18:03psarobeTarget Version2.40MP8 => 2.40MP9
2009-08-13 18:03psarobeversion => 2.40MP7
2009-08-13 18:04psarobeStatusnew => scheduled
2009-08-13 18:04psarobefix_in_branch => pi
2009-10-06 13:18iciordiaAssigned Tomarvintm => shuehner
2009-10-19 17:20shuehnerFile Added: dbsm-main-always-linux-eol.diff
2009-10-19 17:22shuehnerNote Added: 0021184
2009-10-19 17:22shuehnerAssigned Toshuehner => marvintm
2009-10-20 12:27hgbotCheckin
2009-10-20 12:27hgbotNote Added: 0021206
2009-10-20 12:27hgbotStatusscheduled => resolved
2009-10-20 12:27hgbotResolutionopen => fixed
2009-10-20 12:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c3d1912815f66a7bd2ca7e31febef689272abd73 [^]
2009-10-20 16:24hgbotCheckin
2009-10-20 16:24hgbotNote Added: 0021217
2009-10-20 16:24hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/c3d1912815f66a7bd2ca7e31febef689272abd73 [^] => http://code.openbravo.com/erp/stable/2.40/rev/b041cc28f68f67097689e49bdca738a4d961d9d7 [^]
2009-10-22 11:21plujanStatusresolved => closed
2009-10-23 00:00anonymoussf_bug_id0 => 2884243

Notes
(0021184)
shuehner   
2009-10-19 17:22   
Attached patch to always use linux-style line endings (CR instead CR+LF) on export.database. Not committed yet as transition steps needs to be defined and documented.
(0021206)
hgbot   
2009-10-20 12:27   
Repository: erp/devel/pi
Changeset: c3d1912815f66a7bd2ca7e31febef689272abd73
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Oct 20 12:25:06 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c3d1912815f66a7bd2ca7e31febef689272abd73 [^]

Fixed issue 10261. Export.database will export the files with Linux-stype line endings, independently of the platform it was executed in.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0021217)
hgbot   
2009-10-20 16:24   
Repository: erp/stable/2.40
Changeset: b041cc28f68f67097689e49bdca738a4d961d9d7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Oct 20 12:30:59 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/b041cc28f68f67097689e49bdca738a4d961d9d7 [^]

Fixed issue 10261. Export.database will export the files with Linux-stype line endings, independently of the platform it was executed in.

---
M src-db/database/lib/dbsourcemanager.jar
---