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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035587
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServermajoralways2017-03-21 17:412017-03-29 13:16
ReporterkchoperenaView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revisionb40ab9e033f7
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

0035587: [STORE SERVER 2653] When a business partner is added to a store, synchronize it as soon as possible

DescriptionWhen a business partner is added to a store, (either the store is set as the default store of the business partner or the secondary store), some records related with that business partner (i.e. its contact and location) are updated so that SymmetricDS captures the changes and sends those records to the new store.

The moment those changes are routed and pushed depend currently on when the scheduled Route and Push jobs are invoked. This can be improved, and we can force the invocation of the Route and Push jobs whenever a business partner is added to a store.
Steps To ReproduceN/A
Proposed SolutionAdd priority control in BusinessPartnerPerStoreEventHandler class
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095513)
hgbot (developer)
2017-03-22 18:24

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 1309bf3435638b329e472076e88ef8cb5bf971be
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Mar 22 18:17:22 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/1309bf3435638b329e472076e88ef8cb5bf971be [^]

Related with issue 35587: Extract class RouteAndPushStarterRunnable

The class RouteAndPushStarterRunnable has been extracted from MultiServerJSONSymmetricDSStarter so that other classes can use it.

---
M src/org/openbravo/retail/storeserver/synchronization/MultiServerJSONSymmetricDSStarter.java
A src/org/openbravo/retail/storeserver/synchronization/RouteAndPushStarterRunnable.java
---
(0095514)
hgbot (developer)
2017-03-22 18:24

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: b40ab9e033f751322a908c7da51603f1bcf876cf
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Mar 22 18:22:11 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b40ab9e033f751322a908c7da51603f1bcf876cf [^]

Fixes issue 35587: Some event handler now route and push data on completion

The BusinessPartnerEventHandlerForStandardCustomerFlag and BusinessPartnerPerStoreEventHandler eventhandlers now force the execution of the route and push jobs then their transaction is completed. To do that, a new abstract eventhandler has been created, named AutoRouteAndPushGenericEventHandler. The event handlers that extend it can define the mobile server key of the server that be sent the data in the push run being started.

---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/BusinessPartnerEventHandlerForStandardCustomerFlag.java
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/BusinessPartnerPerStoreEventHandler.java
A src/org/openbravo/retail/storeserver/synchronization/eventhandler/AutoRouteAndPushGenericEventHandler.java
---
(0095641)
mtaal (manager)
2017-03-29 13:16

Reviewed and tested

- Issue History
Date Modified Username Field Change
2017-03-21 17:41 kchoperena New Issue
2017-03-21 17:41 kchoperena Assigned To => AugustoMauch
2017-03-21 17:41 kchoperena Resolution time => 1491256800
2017-03-21 17:41 kchoperena Triggers an Emergency Pack => No
2017-03-22 13:01 AugustoMauch Summary [STORE SERVER 2653] Force business partners synchronization from Central server to Store server => [STORE SERVER 2653] When a business partner is added to a store, synchronize it as soon as possible
2017-03-22 13:01 AugustoMauch Description Updated View Revisions
2017-03-22 18:24 AugustoMauch Review Assigned To => mtaal
2017-03-22 18:24 hgbot Checkin
2017-03-22 18:24 hgbot Note Added: 0095513
2017-03-22 18:24 hgbot Checkin
2017-03-22 18:24 hgbot Note Added: 0095514
2017-03-22 18:24 hgbot Status new => resolved
2017-03-22 18:24 hgbot Resolution open => fixed
2017-03-22 18:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b40ab9e033f751322a908c7da51603f1bcf876cf [^]
2017-03-29 13:16 mtaal Note Added: 0095641
2017-03-29 13:16 mtaal Status resolved => closed
2017-03-29 13:16 mtaal Fixed in Version => RR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker