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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037077
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajoralways2017-10-16 17:462017-11-07 22:36
ReporterAsantos9View Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionaf8fdd18940e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037077: [SERQA 3400] Readable clients are not updated in obContext during transition to online

DescriptionTransition to online process is executed as system administrator. The current client is set before transition to online handlers but readable clients are not updated.
Steps To Reproduce1. Implements a MobileServerTransitionToOnlineHandler
2. Do a query searching any record with a client distinct from '0'


Note that the query does not return the expected record

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0100029)
hgbot (developer)
2017-10-24 15:28

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: af8fdd18940ecfff6a30b489e26ae6a52c5833eb
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Oct 24 15:16:00 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/af8fdd18940ecfff6a30b489e26ae6a52c5833eb [^]

Fixes issue 37077: Sets proper OBContext before transitioning to online

As part of the transitions to online process, the MobileServerTransitionToOnlineHandlers are verified. They assume that the OBContext of the thread where they are execute use a non-system client and thread. The expected client to be used is the one where the mobile servers are defined.

The simplest way to do this is to pick any non-system role defined for the given client, and initialize the OBContext based on it.

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerStatusInformation.java
---
(0100031)
hgbot (developer)
2017-10-24 15:39

Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: e266334a58cbc17baa0e9488a8c8bffbabbc77ef
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Oct 24 15:27:39 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/e266334a58cbc17baa0e9488a8c8bffbabbc77ef [^]

Related with issue 37077: It is no longer needed to update the OBContext

The OBContext is not properly initialized centrally before starting the transition to online (see [1]).

[1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/af8fdd18940e [^]

---
M src/org/openbravo/replication/symmetricds/SetupSymmetricListener.java
---
(0100314)
mtaal (manager)
2017-11-07 22:36

reviewed

- Issue History
Date Modified Username Field Change
2017-10-16 17:46 Asantos9 New Issue
2017-10-16 17:46 Asantos9 Assigned To => StoreServer
2017-10-16 17:46 Asantos9 Resolution time => 1509318000
2017-10-16 17:46 Asantos9 Triggers an Emergency Pack => No
2017-10-23 10:08 AugustoMauch File Added: fixIssue37077.diff
2017-10-24 15:28 hgbot Checkin
2017-10-24 15:28 hgbot Note Added: 0100029
2017-10-24 15:28 hgbot Status new => resolved
2017-10-24 15:28 hgbot Resolution open => fixed
2017-10-24 15:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/af8fdd18940ecfff6a30b489e26ae6a52c5833eb [^]
2017-10-24 15:35 AugustoMauch Assigned To StoreServer => AugustoMauch
2017-10-24 15:35 AugustoMauch File Deleted: fixIssue37077.diff
2017-10-24 15:35 AugustoMauch Review Assigned To => mtaal
2017-10-24 15:39 hgbot Checkin
2017-10-24 15:39 hgbot Note Added: 0100031
2017-11-07 22:36 mtaal Note Added: 0100314
2017-11-07 22:36 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker