Openbravo Issue Tracking System - Openbravo Deployment Options
View Issue Details
0011249Openbravo Deployment OptionsAppliance rPathpublic2009-11-04 16:062011-08-24 13:02
networkb 
jpabloae 
immediatemajoralways
closedfixed 
5
2.50 
2.50 
0011249: Backups are not created if a MP update enters backslash characters in the bbdd.url of Openbravo.properties
An application stack (2.50 MP0) is configured to do backups using SMB.
Application is updated to 2.50 MP8 and backups are not created anymore.


It must be fixed in 2.50 MP9
Install a 2.50 with stack.
Configure backups in the stack.
Update to MP8 the application.
Check if backups are created.
No tags attached.
related to feature request 0011250 new Triage Platform Base Openbravo ERP Openbravo.properties file is messed by core upgrades 
Issue History
2009-11-04 16:06networkbNew Issue
2009-11-04 16:06networkbAssigned To => jpabloae
2009-11-04 16:12jpabloaeNote Added: 0021562
2009-11-04 16:12jpabloaeNote Added: 0021563
2009-11-04 16:13jpabloaeStatusnew => feedback
2009-11-04 16:21jpabloaeNote Added: 0021564
2009-11-04 16:23jpabloaeNote Edited: 0021564
2009-11-04 16:40dmitry_mezentsevProjectOpenbravo Deployment Options => Openbravo ERP
2009-11-04 16:41dmitry_mezentsevAssigned Tojpabloae => alostale
2009-11-04 17:04alostaleRelationship addedrelated to 0011250
2009-11-04 17:05dmitry_mezentsevNote Added: 0021565
2009-11-04 17:05dmitry_mezentsevProjectOpenbravo ERP => Openbravo Deployment Options
2009-11-04 17:05dmitry_mezentsevAssigned Toalostale => jpabloae
2009-11-04 17:11jpabloaeStatusfeedback => scheduled
2009-11-04 17:11jpabloaefix_in_branch => pi
2009-11-04 17:51jpabloaeNote Added: 0021567
2009-11-04 17:51jpabloaefix_in_branchpi =>
2009-11-04 17:51jpabloaeSummaryBackups are not created if Openbravo.properties is changed => Backups are not created if a MP update enters backslash characters in the bbdd.url of Openbravo.properties
2009-11-04 18:12jpabloaeStatusscheduled => resolved
2009-11-04 18:12jpabloaeFixed in Version => 2.50
2009-11-04 18:12jpabloaeResolutionopen => fixed
2009-11-04 18:13jpabloaeNote Added: 0021568
2011-08-24 13:02jpabloaeStatusresolved => closed
2012-07-19 13:11gorka_gilCategoryAppliance stack => Appliance rPath

Notes
(0021562)
jpabloae   
2009-11-04 16:12   
Whenever the Openbravo.properties is changed between MPs the ERP updates the file and escaped all the colon characters, ":", with a "\". Example:

bbdd.url=jdbc\:postgresql\://localhost\:5432

This is wrong, the property updater should not do that.
(0021563)
jpabloae   
2009-11-04 16:12   
If I wasn't clear: this must be fixed in the ERP.
(0021564)
jpabloae   
2009-11-04 16:21   
(edited on: 2009-11-04 16:23)
From http://java.sun.com/javase/6/docs/api/java/util/Properties.html#store%28java.io.Writer,%20java.lang.String%29 [^]

"The key and element characters #, !, =, and : are written with a preceding backslash to ensure that they are properly loaded."

(0021565)
dmitry_mezentsev   
2009-11-04 17:05   
Only backup part is not working so the idea is to modify the way we read this file from the stack.
(0021567)
jpabloae   
2009-11-04 17:51   
Subject changed for clarity.
(0021568)
jpabloae   
2009-11-04 18:13   
Fixed, tested, released and notified.