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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031519
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2015-11-17 18:262015-12-14 01:59
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q1
StatusclosedFix in branchFixed in SCM revision0eb0853e3d48
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031519: Open SystemService API to be consumed by database replication module

DescriptionThe 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.
Steps To Reproduce-
TagsNo tags attached.
Attached Files? file icon 31519.export [^] (2,926 bytes) 2015-11-23 10:23

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0082631)
hgbot (developer)
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 (manager)
2015-12-11 09:44

code reviewed
(0082691)
hudsonbot (developer)
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

- Issue History
Date Modified Username Field Change
2015-11-17 18:26 AugustoMauch New Issue
2015-11-17 18:26 AugustoMauch Assigned To => platform
2015-11-17 18:26 AugustoMauch Modules => Core
2015-11-17 18:26 AugustoMauch Triggers an Emergency Pack => No
2015-11-23 09:46 AugustoMauch Description Updated View Revisions
2015-11-23 10:19 AugustoMauch Description Updated View Revisions
2015-11-23 10:23 AugustoMauch File Added: 31519.export
2015-12-09 12:29 AugustoMauch Status new => scheduled
2015-12-09 12:29 AugustoMauch Review Assigned To => alostale
2015-12-10 09:16 hgbot Checkin
2015-12-10 09:16 hgbot Note Added: 0082631
2015-12-10 09:16 hgbot Status scheduled => resolved
2015-12-10 09:16 hgbot Resolution open => fixed
2015-12-10 09:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0eb0853e3d481013e9a7aa8a978c8e9b2644b59a [^]
2015-12-11 09:43 alostale Assigned To platform => AugustoMauch
2015-12-11 09:44 alostale Note Added: 0082671
2015-12-11 09:44 alostale Status resolved => closed
2015-12-11 09:44 alostale Fixed in Version => 3.0PR16Q1
2015-12-14 01:59 hudsonbot Checkin
2015-12-14 01:59 hudsonbot Note Added: 0082691


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker