Notes |
|
(0086566)
|
hgbot
|
2016-05-18 18:19
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 99c3fd0c941a3584f936ccbf8db942d17c54c87b
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed May 18 18:18:59 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/99c3fd0c941a3584f936ccbf8db942d17c54c87b [^]
related to issue 32427 added iscurrent column to OBMOBC_SERVER_DEFINITION
Added iscurrent column to OBMOBC_SERVER_DEFINITION.
SetCurrentMobileServerListener fill iscurrent column in order
to know how mobile server is the current server.
---
M src-db/database/model/tables/OBMOBC_SERVER_DEFINITION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
A src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java
---
|
|
|
(0086567)
|
hgbot
|
2016-05-18 18:45
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: b9f1b9c66578a863ca54ab6d0fc76d068286aa23
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed May 18 18:45:29 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b9f1b9c66578a863ca54ab6d0fc76d068286aa23 [^]
Fixed issue 32427 Implement Store Server Process Requests APIs
Deliver an api to allow programmatical scheduling of process requests.
http://wiki.openbravo.com/wiki/Projects:Store_Server_Process_Requests [^]
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src-db/database/sourcedata/STRSYNC_CUSTOM_ROUTER.xml
M src-db/database/sourcedata/STRSYNC_SYNCHRONIZEDTABLE.xml
M src-db/database/sourcedata/STRSYNC_SYNCH_CHANNEL.xml
A src-db/database/model/modifiedTables/AD_PROCESS_REQUEST.xml
A src-db/database/model/modifiedTables/AD_PROCESS_RUN.xml
A src-db/database/model/tables/OBSTSYN_SERVERS_PREQUEST.xml
A src-db/database/model/triggers/OBSTSYN_AD_PROCESS_RUN.xml
A src-db/database/model/views/OBSTSYN_PEXECUTION_STORE_V.xml
A src-db/database/sourcedata/AD_AUXILIARINPUT.xml
A src-db/database/sourcedata/AD_PROCESS.xml
A src-db/database/sourcedata/OBUIAPP_PROCESS.xml
A src/org/openbravo/retail/storeserver/synchronization/StoreSynchronizationComponentProvider.java
A src/org/openbravo/retail/storeserver/synchronization/process/ImportAllStoreServersHandler.java
A src/org/openbravo/retail/storeserver/synchronization/process/MobileServerProcessRequest.java
A src/org/openbravo/retail/storeserver/synchronization/process/StoreServerProcessRequestHandler.java
A src/org/openbravo/retail/storeserver/synchronization/process/UpdateProcessRequestStatus.java
A src/org/openbravo/retail/storeserver/synchronization/process/UpdateStoreServerProcessRequestStatusBackground.java
A src/org/openbravo/retail/storeserver/synchronization/router/ProcessRequestRouter.java
A web/org.openbravo.retail.storeserver.synchronization/js/importAllStoreServers.js
A web/org.openbravo.retail.storeserver.synchronization/js/storeserverprocessrequest.js
---
|
|
|
(0086574)
|
hgbot
|
2016-05-19 11:21
|
|
|
|
(0086582)
|
hgbot
|
2016-05-19 16:08
|
|
|
|
(0086699)
|
hgbot
|
2016-05-24 11:52
|
|
|
|
(0086802)
|
hgbot
|
2016-05-30 11:47
|
|
|
|
|
|
|
|
Reopened, code review pending to be applied |
|
|
(0087252)
|
hgbot
|
2016-06-14 13:17
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 1c399df4c833c50ed1738d28368a8b2672d99a4d
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Jun 14 13:16:36 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/1c399df4c833c50ed1738d28368a8b2672d99a4d [^]
related to issue 32427 process request for store servers code review
Code review: added help and description in new fields and columns,
added missing constraints, added javadoc.
Fixed parameter names (camelcase), added constants, fixed javaclass name.
---
M src-db/database/model/modifiedTables/AD_PROCESS_REQUEST.xml
M src-db/database/model/tables/OBSTSYN_SERVERS_PREQUEST.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/STRSYNC_SYNCHRONIZEDTABLE.xml
M src/org/openbravo/retail/storeserver/synchronization/process/ImportAllStoreServersHandler.java
M src/org/openbravo/retail/storeserver/synchronization/process/MobileServerProcessRequest.java
M src/org/openbravo/retail/storeserver/synchronization/process/StoreServerProcessRequestHandler.java
M src/org/openbravo/retail/storeserver/synchronization/process/UpdateStoreServerProcessRequestStatusBackground.java
M src/org/openbravo/retail/storeserver/synchronization/router/ProcessRequestRouter.java
M web/org.openbravo.retail.storeserver.synchronization/js/importAllStoreServers.js
A web/org.openbravo.retail.storeserver.synchronization/js/storeServerProcessRequest.js
R web/org.openbravo.retail.storeserver.synchronization/js/storeserverprocessrequest.js
---
|
|
|
(0087255)
|
hgbot
|
2016-06-14 15:48
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 90194a642733715bfa63687985c08cc9991775ab
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Jun 14 15:47:47 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/90194a642733715bfa63687985c08cc9991775ab [^]
related to issue 32427 process request for store servers code review
code review: added display logoic, default value en column,
remove unnecessary blank spaces
---
M src-db/database/model/modifiedTables/AD_PROCESS_REQUEST.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/retail/storeserver/synchronization/process/UpdateProcessRequestStatus.java
---
|
|
|
(0087258)
|
hgbot
|
2016-06-14 17:05
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 11addfc89f87e754747cd139dfca00752f82550b
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Jun 14 17:05:13 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/11addfc89f87e754747cd139dfca00752f82550b [^]
related to issue 32427 process request for store servers code review
code review: fixed display logic, properly error when no synchronized
process request.
---
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/retail/storeserver/synchronization/process/MobileServerProcessRequest.java
---
|
|
|
(0087260)
|
hgbot
|
2016-06-14 18:46
|
|
|
|
(0087261)
|
hgbot
|
2016-06-14 18:52
|
|
|
|
(0087262)
|
hgbot
|
2016-06-14 19:06
|
|
|
|
(0087274)
|
hgbot
|
2016-06-14 21:23
|
|
|
|
(0087284)
|
hgbot
|
2016-06-15 09:37
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fe389a3ec022ce5565b86afd48de6813513abb19
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Jun 14 12:55:25 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe389a3ec022ce5565b86afd48de6813513abb19 [^]
related to issue 32427 process request for store server code review
Code review: added description and help in some new columns,
added a missing constraint and some code review changes
in SetCurrentMobileServerListener java class.
---
M src-db/database/model/tables/OBMOBC_SERVER_DEFINITION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java
---
|
|
|
(0087288)
|
hgbot
|
2016-06-15 10:02
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 3c0c365b863af7d3395b1bfe7c000de31d84d2f1
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Jun 15 10:01:52 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/3c0c365b863af7d3395b1bfe7c000de31d84d2f1 [^]
related to issue 32427 process request for store servers code review
code review: fixed display logics, added reschedule action to
store server process request
---
M src-db/database/model/tables/OBSTSYN_SERVERS_PREQUEST.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/OBUIAPP_PROCESS.xml
M src/org/openbravo/retail/storeserver/synchronization/process/ImportAllStoreServersHandler.java
M src/org/openbravo/retail/storeserver/synchronization/process/MobileServerProcessRequest.java
M web/org.openbravo.retail.storeserver.synchronization/js/storeServerProcessRequest.js
---
|
|
|
(0087298)
|
hgbot
|
2016-06-15 13:07
|
|
|
|
(0087299)
|
hgbot
|
2016-06-15 13:28
|
|
|
|
(0087301)
|
hgbot
|
2016-06-15 13:45
|
|
|
|
(0087302)
|
hgbot
|
2016-06-15 13:45
|
|
|
|
(0087308)
|
hgbot
|
2016-06-15 15:16
|
|
|
|
(0087309)
|
hgbot
|
2016-06-15 15:16
|
|
|
|
(0087314)
|
hgbot
|
2016-06-15 18:11
|
|
|
|
(0087315)
|
hgbot
|
2016-06-15 18:42
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 3340630ee53770d7d3fbe664cb0dbf5d745b0fb3
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Jun 15 18:42:12 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/3340630ee53770d7d3fbe664cb0dbf5d745b0fb3 [^]
related to issue 32427 process request for store servers code review
code review: improved field name, show hiden columns,
added a new validation
---
M src-db/database/model/tables/OBSTSYN_SERVERS_PREQUEST.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/DeleteProcessRequestEventHandler.java
M src/org/openbravo/retail/storeserver/synchronization/process/ImportAllStoreServersHandler.java
M src/org/openbravo/retail/storeserver/synchronization/process/UpdateStoreServerProcessRequestStatusBackground.java
---
|
|
|
(0087333)
|
hgbot
|
2016-06-16 11:08
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 851f34f367d238e68be5b74ad43f6946946982a8
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Jun 16 11:08:00 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/851f34f367d238e68be5b74ad43f6946946982a8 [^]
related to issue 32427 process request for store servers code review
code review: change the entity for the right (OBSTSYN_Servers_Prequest),
loop not necessary.
---
A src/org/openbravo/retail/storeserver/synchronization/eventhandler/DeleteMobileServerProcessRequestEventHandler.java
R src/org/openbravo/retail/storeserver/synchronization/eventhandler/DeleteProcessRequestEventHandler.java
---
|
|
|
(0087362)
|
hgbot
|
2016-06-16 17:49
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 914be905a381ba9efc93077169aae0a0aec65a30
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Jun 16 11:10:30 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/914be905a381ba9efc93077169aae0a0aec65a30 [^]
related to issue 32427 set to false iscurrent column for all mobile servers
run an update query to set the column to false for all mobile servers,
even if the mobile.server.key property has not been defined.
---
M src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java
---
|
|
|
(0087702)
|
hgbot
|
2016-06-21 09:27
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: b12443b13b30f1e6d9c7e35ce123ecdfa76f6f63
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Jun 21 09:19:53 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b12443b13b30f1e6d9c7e35ce123ecdfa76f6f63 [^]
Related with issue 32427: Adds unique constraint, makes column not updateable
Adds a unique constraint to obstsyn_servers_prequest (ad_process_request_id, obmobc_server_definition_id), makes the Mobile Server column not updateable.
---
M src-db/database/model/tables/OBSTSYN_SERVERS_PREQUEST.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
|
|
|
(0087722)
|
hgbot
|
2016-06-21 12:53
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2447260d808674b632acad6398397e4c98445e0c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Jun 21 12:48:07 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2447260d808674b632acad6398397e4c98445e0c [^]
Related with issue 32427: Small refactor and perf improvement in listener
An update done using a loop has been replaced by an update statement. Also two methods have been extracted to improve the legibility of the code.
---
M src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java
---
|
|
|
(0087749)
|
hgbot
|
2016-06-21 17:37
|
|
Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: 8520e2a425d2f84ac5702061e7ad9545625e5eb3
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Jun 21 17:34:50 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/8520e2a425d2f84ac5702061e7ad9545625e5eb3 [^]
Related with issue 32427: Prevent errors when synchronization ad_process_run
The ad_process_run table is synchronized from the store servers to the central server. This is done to be able to browse the ad_process_run belonging to ad_process_requests that have been scheduleding in a store server FROM a central server. If the ad_process_request is scheduled directly from a store server, its ad_process_run will be synchronized to the central server but will reference an ad_process_request that does not exist in the central server, so the importation would fail.
To prevent this, a writer filter adapter has been added that check this. If the ad_process_run references a missing ad_process_request, it will just be ignored.
---
A src/org/openbravo/replication/symmetricds/extensions/AdProcessRunWriterFilterAdapter.java
---
|
|
|
(0087806)
|
Sandrahuguet
|
2016-06-22 16:50
(edited on: 2016-06-23 09:14) |
|
|
|
(0087993)
|
hgbot
|
2016-06-27 17:57
|
|
|
|
|
Code reviewed and verified |
|