Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0038253 | Retail Modules | StoreServer | public | 2018-03-28 17:27 | 2018-04-09 13:23 | |||||||
Reporter | AugustoMauch | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | mtaal | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0038253: MobileServerController should not write offline log of TransitionToOnlineHandlers that return a success response | |||||||||||
Description | In the BUT environment, we have seen that when a MobileServerTransitionToOnlineHandler determines that the server cannot go online, the offline log shows also the name of the other MobileServerTransitionToOnlineHandlers, for instance: 2018-03-28 13:29:26,439 [TransitionToOnlineThread] WARN org.openbravo.retail.storeserver.synchronization.SyncStatusOnlineTransitionHandler - Not going online because: SyncStatusOnlineTransitionHandler this server has 1 waiting importentries/synchronization-batches 2018-03-28 13:29:26,440 [TransitionToOnlineThread] WARN org.openbravo.mobile.core.servercontroller.MobileServerController - Transition try 0 failed caused by: >Transition to online failed because of handlers: IntegrationsTransitionToOnlineHandler SyncStatusOnlineTransitionHandler this server has 1 waiting importentries/synchronization-batches Only SyncStatusOnlineTransitionHandler failed, but the class name of IntegrationsTransitionToOnlineHandler is also shown because that's the default behaviour of implementation of the getOfflineLog method | |||||||||||
Steps To Reproduce | See description, and check here [1] that the log of all SyncStatusOnlineTransitionHandlers is appended without checking if their isReadyToGoOnline method returns false [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/6670827571b5/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l678 [^] | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-03-28 17:27 | AugustoMauch | New Issue | ||||||||||
2018-03-28 17:27 | AugustoMauch | Assigned To | => AugustoMauch | |||||||||
2018-03-28 17:27 | AugustoMauch | OBNetwork customer | => No | |||||||||
2018-03-28 17:27 | AugustoMauch | Triggers an Emergency Pack | => No | |||||||||
2018-04-05 12:21 | AugustoMauch | Review Assigned To | => mtaal | |||||||||
2018-04-05 12:22 | hgbot | Checkin | ||||||||||
2018-04-05 12:22 | hgbot | Note Added: 0103689 | ||||||||||
2018-04-05 12:22 | hgbot | Status | new => resolved | |||||||||
2018-04-05 12:22 | hgbot | Resolution | open => fixed | |||||||||
2018-04-05 12:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4b902830f76082469911bcf0fe375ae2a3d76a82 [^] | |||||||||
2018-04-09 13:23 | mtaal | Note Added: 0103752 | ||||||||||
2018-04-09 13:23 | mtaal | Status | resolved => closed | |||||||||
2018-05-02 17:37 | ioritzCia | Relationship added | has duplicate 0038476 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|