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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039223
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServerminorhave not tried2018-09-04 13:072018-09-14 11:43
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision96142d43ff54
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039223: Transition to online state not needed when moving from transitiion to offline to online

DescriptionWhen we notice during transition to offline that offline is not needed anymore the logic triggers a transition to online phase first [1]. This is however not needed as the system was already in transitioning mode. We can just switch the status to online.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java#l124 [^]
Steps To ReproduceSee description
TagsNo tags attached.
Attached Filesdiff file icon 39223.diff [^] (1,467 bytes) 2018-09-13 18:06 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0106691)
mtaal (manager)
2018-09-11 19:25

To test:
- start multi-server
- put a breakpoint here [1]
- stop cs
- force webpos to do a call to ss and cs
- it forces transition offline
- breakpoint is hit
- start cs
- after cs started continue from breakpoint, see that offline is not needed anymore and check that it goes online directly

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java#l98 [^]
(0106762)
hgbot (developer)
2018-09-14 08:16

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 96142d43ff5482643e6b9a7f64105a8f7480bccf
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Sep 14 08:16:32 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96142d43ff5482643e6b9a7f64105a8f7480bccf [^]

Fixes issue 39223: Transition to online state not needed when moving from transitiion to offline to online
Go back online if transition to offline is not needed anymore

---
M src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java
---
(0106768)
AugustoMauch (manager)
2018-09-14 11:43

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2018-09-04 13:07 mtaal New Issue
2018-09-04 13:07 mtaal Assigned To => mtaal
2018-09-04 13:07 mtaal Triggers an Emergency Pack => No
2018-09-11 19:25 mtaal Note Added: 0106691
2018-09-13 18:06 mtaal File Added: 39223.diff
2018-09-14 08:16 hgbot Checkin
2018-09-14 08:16 hgbot Note Added: 0106762
2018-09-14 08:16 hgbot Status new => resolved
2018-09-14 08:16 hgbot Resolution open => fixed
2018-09-14 08:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96142d43ff5482643e6b9a7f64105a8f7480bccf [^]
2018-09-14 08:17 mtaal Review Assigned To => AugustoMauch
2018-09-14 11:43 AugustoMauch Note Added: 0106768
2018-09-14 11:43 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker