Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011096Openbravo ERPA. Platformpublic2009-10-22 18:172009-11-07 00:00
shuehner 
marvintm 
normalminorhave not tried
closedfixed 
5
pi 
2.50MP9 
Core
No
0011096: create.database should stop if database could not be created
create.database does two steps at the beginning

1.) drop database
2.) create database

1.) is expected to fail sometimes (i.e. first installation) so install does continue if step 1.) fails

step 2.) should always work, so if it does not the build should stop

Standard usecase:
other users accessing a database, so i couldn't be dropped and created which leads to problems later..

Stop build if the create step of create.database fails
main
Issue History
2009-10-22 18:17shuehnerNew Issue
2009-10-22 18:17shuehnerAssigned To => marvintm
2009-10-22 18:20hgbotCheckin
2009-10-22 18:20hgbotNote Added: 0021346
2009-10-22 18:20hgbotStatusnew => resolved
2009-10-22 18:20hgbotResolutionopen => fixed
2009-10-22 18:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fea918133fc4f8d0261428a184ef7bc9794b3f68 [^]
2009-10-22 19:26psarobeTag Attached: main
2009-11-06 10:29arunkumarStatusresolved => closed
2009-11-06 10:29arunkumarNote Added: 0021625
2009-11-06 10:29arunkumarFixed in Version => 2.50MP9
2009-11-07 00:00anonymoussf_bug_id0 => 2893611

Notes
(0021346)
hgbot   
2009-10-22 18:20   
Repository: erp/devel/pi
Changeset: fea918133fc4f8d0261428a184ef7bc9794b3f68
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 18:19:33 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fea918133fc4f8d0261428a184ef7bc9794b3f68 [^]

Fixed issue 11096. Build will now stop if the CREATE USER (on Oracle) or CREATE DATABASE (on Postgre) fails.

---
M src-db/database/build-create.xml
---
(0021625)
arunkumar   
2009-11-06 10:29   
Tested & working fine.