Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010261
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajorhave not tried2009-08-13 09:402009-10-23 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionb041cc28f68f
ProjectionnoneETAnoneTarget Version2.40MP9
OSWindowsDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP7SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010261: On Windows, database model files contain Windows end-of-line characters after doing export.database

DescriptionOn 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.
Steps To ReproduceJust do export.database on a Windows machine. Open the model files (src-db/database/model). The end of line characters should have been changed.
Proposed SolutionDBSourceManager needs to be changed so that it always generates standard end of line chars.
TagsNo tags attached.
Attached Filesdiff file icon dbsm-main-always-linux-eol.diff [^] (773 bytes) 2009-10-19 17:20 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00102672.40MP9 closedmarvintm On Windows, database model files contain Windows end-of-line characters after doing export.database 

-  Notes
(0021184)
shuehner (administrator)
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 (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2009-08-13 09:40 marvintm New Issue
2009-08-13 09:40 marvintm Assigned To => marvintm
2009-08-13 18:03 psarobe Priority immediate => urgent
2009-08-13 18:03 psarobe Target Version 2.40MP8 => 2.40MP9
2009-08-13 18:03 psarobe version => 2.40MP7
2009-08-13 18:04 psarobe Status new => scheduled
2009-08-13 18:04 psarobe fix_in_branch => pi
2009-10-06 13:18 iciordia Assigned To marvintm => shuehner
2009-10-19 17:20 shuehner File Added: dbsm-main-always-linux-eol.diff
2009-10-19 17:22 shuehner Note Added: 0021184
2009-10-19 17:22 shuehner Assigned To shuehner => marvintm
2009-10-20 12:27 hgbot Checkin
2009-10-20 12:27 hgbot Note Added: 0021206
2009-10-20 12:27 hgbot Status scheduled => resolved
2009-10-20 12:27 hgbot Resolution open => fixed
2009-10-20 12:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c3d1912815f66a7bd2ca7e31febef689272abd73 [^]
2009-10-20 16:24 hgbot Checkin
2009-10-20 16:24 hgbot Note Added: 0021217
2009-10-20 16:24 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/c3d1912815f66a7bd2ca7e31febef689272abd73 [^] => http://code.openbravo.com/erp/stable/2.40/rev/b041cc28f68f67097689e49bdca738a4d961d9d7 [^]
2009-10-22 11:21 plujan Status resolved => closed
2009-10-23 00:00 anonymous sf_bug_id 0 => 2884243


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker