Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034306Retail ModulesStoreServerpublic2016-10-26 16:192016-11-21 16:08
Asantos9 
mtaal 
normalminoralways
closedno change required 
5
 
 
No
0034306: An error is thrown while calling to isThisAStoreServer with multiserver
If isThisAStoreServer method is used on a central server, an error is appeared with the next log:

org.openbravo.base.exception.OBException: Do not call this method as a central server
    at org.openbravo.mobile.core.servercontroller.MobileServerController.getCentralServer(MobileServerController.java:111)
    at org.openbravo.mobile.core.servercontroller.MobileServerController.getMobileServer(MobileServerController.java:383)
    at org.openbravo.mobile.core.servercontroller.MobileServerRequestExecutor.executeServerRequest(MobileServerRequestExecutor.java:231)
    at org.openbravo.mobile.core.servercontroller.MobileServerRequestExecutor.executeCentralRequest(MobileServerRequestExecutor.java:263)
    at org.openbravo.retail.storeserver.synchronization.SyncStatusOnlineTransitionHandler.processTransactions(SyncStatusOnlineTransitionHandler.java:61)
    at org.openbravo.mobile.core.servercontroller.MobileServerController$TransitionToOnline.run(MobileServerController.java:573)
    at java.lang.Thread.run(Thread.java:745)
Use isThisAStoreServer method on central server
No tags attached.
Issue History
2016-10-26 16:19Asantos9New Issue
2016-10-26 16:19Asantos9Assigned To => StoreServer
2016-10-26 16:19Asantos9Triggers an Emergency Pack => No
2016-11-21 11:54mtaalAssigned ToStoreServer => mtaal
2016-11-21 16:08mtaalNote Added: 0091709
2016-11-21 16:08mtaalStatusnew => closed
2016-11-21 16:08mtaalResolutionopen => no change required

Notes
(0091709)
mtaal   
2016-11-21 16:08   
Issue was already resolved as part of another. See the lines of code here:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/fc88fd67667e/src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java#l48 [^]