Notes |
|
(0083921)
|
hgbot
|
2016-02-04 11:26
|
|
|
|
(0083988)
|
hgbot
|
2016-02-05 19:30
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b296383fd9f307d2bc4d980edddd58b2c62da796
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Feb 05 19:29:20 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b296383fd9f307d2bc4d980edddd58b2c62da796 [^]
Fixed issue 0031655: WebPOS Synchronous transactions
- Create the reference for the OrderLoader preference
- Set it in the model
---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
|
|
|
(0083989)
|
hgbot
|
2016-02-05 19:31
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b4f987dcae8ef3ea097c57505c3cd9aad80c38de
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Feb 05 19:28:02 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b4f987dcae8ef3ea097c57505c3cd9aad80c38de [^]
Fixed issue 0031655: WebPOS Synchronous transactions
- Check if the request is shynchronized and in that case, process the import Entry and send bach the response
- Set error = true to send back the message error
- If it is a synchronized request, show Loading... window in the call and hide in the response
- In the response, show error message if exists and continue executing the callback
- Set in the request if is synched or not depending on the preference defined on the model
- Save the status of the Loading... window and the change time
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---
|
|
|
|
Null pointer exception when running the 'I30897_InactiveStorageBinConsidered' test:
java.lang.AssertionError: 1 Errors in the OBPOS_Errors table while importing POS data: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ORG --> D270A5AC50874F8BA67A88EE977F8E3B
TYPEOFDATA -->
Order
ERROR -->
java.lang.NullPointerException
at org.openbravo.mobile.core.process.DataSynchronizationProcess.isSynchronizedRequest(DataSynchronizationProcess.java:107)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:282)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:198)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:98)
at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:41)
at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:59)
at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:370)
at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:292)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745) |
|
|
(0084024)
|
hgbot
|
2016-02-09 08:30
|
|
|
|
(0084025)
|
hgbot
|
2016-02-09 08:31
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2f792e3dea76183e6f509f7d8e00c245c449c52a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Feb 09 08:29:09 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2f792e3dea76183e6f509f7d8e00c245c449c52a [^]
Fixed issue 0031655: WebPOS Synchronous transactions
- Check if request is null
- Put isSynchronized in utils
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M src/org/openbravo/mobile/core/utils/OBMOBCUtils.java
---
|
|
|
|
When an order fails, we must see the sent order in Web POS and be able to fix whatever we need. |
|
|
(0084420)
|
hgbot
|
2016-02-23 13:13
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3bf463fe8806345b3f83ee212312708d43a27c5b
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Feb 22 16:49:22 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3bf463fe8806345b3f83ee212312708d43a27c5b [^]
Fixed issue 0031655: WebPOS Synchronous transactions
- Handle order error in requestrouter
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---
|
|
|
(0084421)
|
hgbot
|
2016-02-23 13:14
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 33e591f858d262185703fed85d0db09f0993f683
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Feb 22 16:53:05 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/33e591f858d262185703fed85d0db09f0993f683 [^]
Fixed issue 0031655: WebPOS Synchronous transactions
- Handle order loader error
---
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
A web/org.openbravo.retail.posterminal/js/data/synchronizedorder.js
---
|
|
|
(0084430)
|
hgbot
|
2016-02-23 14:07
|
|
|
|
(0084574)
|
mtaal
|
2016-02-27 08:53
|
|
|
|
(0084586)
|
mtaal
|
2016-02-29 11:12
|
|
|
|
(0084623)
|
hgbot
|
2016-03-01 14:29
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a9e5e34471e3ffede3f5b1c3cd7909e5e20de1e8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 01 14:20:31 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a9e5e34471e3ffede3f5b1c3cd7909e5e20de1e8 [^]
Related to issue 31655: Backout 1903
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---
|
|
|
(0084624)
|
hgbot
|
2016-03-01 14:29
|
|
|
|
(0084625)
|
hgbot
|
2016-03-01 14:29
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 84c3efd8a98efc47d317d36e71480ed790484f69
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 01 14:22:07 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/84c3efd8a98efc47d317d36e71480ed790484f69 [^]
Related to issue 31655: Backout 1883
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---
|
|
|
(0084626)
|
hgbot
|
2016-03-01 14:33
|
|
|
|
(0084627)
|
hgbot
|
2016-03-01 14:33
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 23f9bbcc549bbdbd62fb15c78f15193cb3f322af
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 01 14:18:06 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/23f9bbcc549bbdbd62fb15c78f15193cb3f322af [^]
Related to issue 31655: Backout 6104
---
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
R web/org.openbravo.retail.posterminal/js/data/synchronizedorder.js
---
|
|
|
(0084628)
|
hgbot
|
2016-03-01 14:33
|
|
|
|
(0084629)
|
hgbot
|
2016-03-01 14:33
|
|
|
|
|
Backout: This change has been postponed to the next release to do a more generic solution. |
|
|
(0084638)
|
hgbot
|
2016-03-01 17:42
|
|
|
|
|
Attached diffs with the solution. |
|
|
(0086098)
|
mtaal
|
2016-05-01 15:30
(edited on: 2016-05-01 15:46) |
|
|
|
(0086568)
|
hgbot
|
2016-05-19 00:44
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6a10c0a2dd157a64ab121e6b6d95ffd9c462f700
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu May 19 00:43:38 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6a10c0a2dd157a64ab121e6b6d95ffd9c462f700 [^]
Related to issue 31655: WebPOS Synchronous transactions
Main synchronized transaction behavior, also added preferences for offline wait time
Summary of changes:
src-db changes: new title/texts for popup, new import entry type, new preferences for offline wait time and synchronized mode, new service definition
DataSynchronizationProcess.java: in case of synchronized mode: prevent commit and always return error/exception no specific error handling
MobileService.java: move service processing to separate class MobileServiceProcessor
MobileServiceProcessor.java: contains the code which was previously in MobileService, so that it can be called from other classes, set synchronized mode in class and pass on to process class
SecuredJSONProcess.java: add synchronized and jsonresult members in this class/level, is really used by subclasses, some changes to prevent NPE if class is called through MobileServiceProcessor, which will always call execSecure
MobileMainServerCheck.java: implement preference for offline wait time
MobileServerController.java: added checks for more defensive coding
MobileServerUtils.java: new utils methods
SynchronizedServerProcessCaller.java: main new class for synchronized processing of synced data, unpacks the json to call individual services.
ob-dal.js: contain code to create and restore in-memory datadump/backup
ob-commonbuttons.js: add a possibility to hide the close button, for unhideable modal confirmation boxes
ob-datasource.js: handle one more way that error/exception is returned in json, automatically do all transaction services synchronized (if synchronized mode is enabled)
ob-requestrouter.js: added utility method
ob-terminal-model.js: main flow change to collect all data which needs to be synced and send them as one request to server using new service
ob-utilitiesui.js: add possibility to create non-closeable modal, return the model so it can be used for show/hide by caller
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M src/org/openbravo/mobile/core/process/MobileService.java
M src/org/openbravo/mobile/core/process/SecuredJSONProcess.java
M web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
A src/org/openbravo/mobile/core/process/MobileServiceProcessor.java
A src/org/openbravo/mobile/core/servercontroller/SynchronizedServerProcessCaller.java
---
|
|
|
(0086569)
|
hgbot
|
2016-05-19 00:52
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e7408dbbf02795b2403656fabaf2ec8caaf08135
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu May 19 00:51:42 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7408dbbf02795b2403656fabaf2ec8caaf08135 [^]
Fixes issue 31655: WebPOS Synchronous transactions
Changes to the UI to navigate UI view only after succesfull transaction on server.
Summary of changes:
LoginUtilsServlet.java: moved code to utils class
CashupSynchronized: service which is called to load cashup information, if there are errors in the queue will read the cashup info from the central server
POSImportEntryProcessor.java: added OBMOBC_SynchronizedData as import entry type
cashmgmt-model.js: if transaction fails then remove cash management entries, user has to re-enter them, call postsync actions in success callback
cashup-model.js: do a real error callback, when the server returns an error
closecash.js: when in synchronized mode there is an error then don't show error message, it is already displayed
datacustomeraddrsave.js: move code to global function which can be called from UI, keep trigger for backward compat
datacustomersave.js: move code to global function which can be called from UI, keep trigger for backward compat
dataordersave.js: in synchronized mode only clean the ui if success return from the server, some code is maintained to retain same UI behavior in case of non-synchronized mode
login-model.js: specify which models are checkpointed
bplocation.js: call global function to save location instead of calling trigger
businesspartner.js: call global function to save bp instead of using trigger
pointofsale-model.js: for multi-order wait with printing until success callback
customeraddress/components/sharedcomponents.js: move the code which changes UI to a callback, called when server succeeds
customers/components/sharedcomponents.js: move the code which changes UI to a callback, called when server succeeds
cashupreportutils.js: in case of synchronized mode, reread the cashup from the server
---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M src/org/openbravo/retail/posterminal/importprocess/POSImportEntryProcessor.java
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/data/datacustomeraddrsave.js
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/bplocation.js
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/components/sharedcomponents.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/components/sharedcomponents.js
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
A src/org/openbravo/retail/posterminal/master/CashupSynchronized.java
---
|
|
|
|
|
|
(0086595)
|
hgbot
|
2016-05-20 10:06
|
|
|
|
(0087325)
|
hgbot
|
2016-06-16 08:40
|
|
Repository: tools/automation/pi-mobile
Changeset: b25342989139431b916e3835b7c68ed9feb10616
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Jun 16 08:40:05 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b25342989139431b916e3835b7c68ed9feb10616 [^]
Related to issue 31655: WebPOS Synchronous transactions
Added synchronized transaction test cases
---
M src-test/org/openbravo/test/mobile/common/junit/toolbox/OBWildcardPatternSuite.java
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/BaseSynchronizedTransactionTest.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/SynchronizedCashupWithDeposit.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/SynchronizedCashupWithSaleAndReturn.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I25623_VerifiedReturnsAvoidMoreThanOrdered.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I27476_SameDocumentNoAfterPayAndReload.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I27615_PartiallyPaidLayaway.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I30412_QuotationsAndPromotions.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I31323_LayawayPayOpenTicket.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I31462_VoidLayaway.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_I31892_VoidLayawayAndCashUp.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/Synchronized_RejectQuotations.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/TestNonSynchronizedSale.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/TestSynchronizedSaleWithError.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MTA/synchronizedtransactions/TestSynchronizedTransaction.java
---
|
|