Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031519Openbravo ERPA. Platformpublic2015-11-17 18:262015-12-14 01:59
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
3.0PR16Q13.0PR16Q1 
alostale
Core
No
0031519: Open SystemService API to be consumed by database replication module
The SystemService class has two methods that would be really useful for the soon to be published database replication module:
- killConnectionsAndSafeMode
- resetSafeMode

The database replication module could use those methods to prevent synchronization errors while synchronizing the database tables. These two methods prevents the user from logging in a role other than System Admin.

In that class the is code to given a org.apache.ddlutils.Platform returns a org.apache.ddlutils.model.Database, that would also be useful to be made available.
-
No tags attached.
? 31519.export (2,926) 2015-11-23 10:23
https://issues.openbravo.com/file_download.php?file_id=8761&type=bug
Issue History
2015-11-17 18:26AugustoMauchNew Issue
2015-11-17 18:26AugustoMauchAssigned To => platform
2015-11-17 18:26AugustoMauchModules => Core
2015-11-17 18:26AugustoMauchTriggers an Emergency Pack => No
2015-11-23 09:46AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=10330#r10330
2015-11-23 10:19AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=10331#r10331
2015-11-23 10:23AugustoMauchFile Added: 31519.export
2015-12-09 12:29AugustoMauchStatusnew => scheduled
2015-12-09 12:29AugustoMauchReview Assigned To => alostale
2015-12-10 09:16hgbotCheckin
2015-12-10 09:16hgbotNote Added: 0082631
2015-12-10 09:16hgbotStatusscheduled => resolved
2015-12-10 09:16hgbotResolutionopen => fixed
2015-12-10 09:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0eb0853e3d481013e9a7aa8a978c8e9b2644b59a [^]
2015-12-11 09:43alostaleAssigned Toplatform => AugustoMauch
2015-12-11 09:44alostaleNote Added: 0082671
2015-12-11 09:44alostaleStatusresolved => closed
2015-12-11 09:44alostaleFixed in Version => 3.0PR16Q1
2015-12-14 01:59hudsonbotCheckin
2015-12-14 01:59hudsonbotNote Added: 0082691

Notes
(0082631)
hgbot   
2015-12-10 09:16   
Repository: erp/devel/pi
Changeset: 0eb0853e3d481013e9a7aa8a978c8e9b2644b59a
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Nov 23 10:20:38 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0eb0853e3d481013e9a7aa8a978c8e9b2644b59a [^]

Fixes issue 31519: Opens the API of SystemService

There three new public methods in the SystemService class:
- killConnectionsAndSafeMode
- resetSafeMode
- getModelFromDatabase

The first two where private methods that have been made public. The third one has been extracted from code that used to be within the disableConstraints method.

---
M src/org/openbravo/service/system/SystemService.java
---
(0082671)
alostale   
2015-12-11 09:44   
code reviewed
(0082691)
hudsonbot   
2015-12-14 01:59   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a26c11c3031d [^]
Maturity status: Test