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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040320
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminorhave not tried2019-03-05 16:002019-03-06 11:56
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc189807df1c7
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

0040320: MobileServerStatusInformation should not update ping and transition state in central server

DescriptionThe MobileServerStatusInformation servlet is invoked:
- When the central server pings the store servers to retrieve its status
- When the store server suspects the central server is offline, to confirm whether it is available

That servlet returns the state of the server (makes sense for both invokations) but it also updates the last CS ping and tries to transition to online, that only makes sense is the server where it is executed is a store server.
Steps To ReproduceReported because the log in a store server client showed that the following query was executed in a central server:

update OBMOBC_SERVER_DEFINITION set Last_Ping=now() where servertype='MAIN'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0110233)
hgbot (developer)
2019-03-05 16:02

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c189807df1c7f4f8198342fa2dfc70654cb54b8b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Mar 05 16:01:54 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c189807df1c7f4f8198342fa2dfc70654cb54b8b [^]

Fixes issue 40320: Only update last ping and transition in store servers

Part of the actions the MobileServerStatusInformation servlet does only make sense when
executed on a store server.

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerStatusInformation.java
---
(0110251)
mtaal (manager)
2019-03-06 11:56

reviewed and tested

- Issue History
Date Modified Username Field Change
2019-03-05 16:00 AugustoMauch New Issue
2019-03-05 16:00 AugustoMauch Assigned To => AugustoMauch
2019-03-05 16:00 AugustoMauch Triggers an Emergency Pack => No
2019-03-05 16:02 hgbot Checkin
2019-03-05 16:02 hgbot Note Added: 0110233
2019-03-05 16:02 hgbot Status new => resolved
2019-03-05 16:02 hgbot Resolution open => fixed
2019-03-05 16:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c189807df1c7f4f8198342fa2dfc70654cb54b8b [^]
2019-03-05 16:02 AugustoMauch Review Assigned To => mtaal
2019-03-06 11:56 mtaal Note Added: 0110251
2019-03-06 11:56 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker