Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031431Retail ModulesWeb POSpublic2015-11-11 16:072015-11-11 16:46
guilleaer 
guilleaer 
normalmajoralways
closedno change required 
5
 
RR16Q1RR16Q1 
guilleaer
No
0031431: When terminal authentication is enabled orders, customers, cashups can be sent to the backend
Once a data synchronization is finished, web POS checks that the terminal is correctly authenticated in the system.

That is nice but not enough. There is a case when a terminal which has been unlinked has a period of time when it has the ability to synchronize orders, customers, cashups etc... before this check is done.
1. Login into ERP and enable terminal authentication
2. Set a terminal identifier for a certain terminal
3. Clear browser cache
4. Navigate to web POS URL without provide the terminal value in the URL (http://localhost:8098/openbravo/web/org.openbravo.retail.posterminal/#login [^])
5. Link the terminal
6. Login into web POS and wait until login in done
7. In other tab of the browser, using a different URL, unlink the terminal
8. Return to webPOS and complete a sale. The order will be processed but currently terminal is unlinked. -> ERROR
9. Once the synchronization process has finished a popup will alert that the terminal is not linked.
option A:
Backend (orderloader, customerloader, cashupLoader) will check if the terminal is linked when actions are going to be processed. If not these actions will go to the "errors while importing" window.

option B:
Check link before send data to the server. This option will not work in the backend.
No tags attached.
related to defect 0030869 closed guilleaer Terminal authentication is allowing to connect from two distinct devices 
Issue History
2015-11-11 16:07guilleaerNew Issue
2015-11-11 16:07guilleaerAssigned To => guilleaer
2015-11-11 16:07guilleaerTriggers an Emergency Pack => No
2015-11-11 16:44guilleaerRelationship addedrelated to 0030869
2015-11-11 16:46guilleaerReview Assigned To => guilleaer
2015-11-11 16:46guilleaerNote Added: 0081720
2015-11-11 16:46guilleaerStatusnew => closed
2015-11-11 16:46guilleaerResolutionopen => no change required
2015-11-11 16:46guilleaerFixed in Version => RR16Q1

Notes
(0081720)
guilleaer   
2015-11-11 16:46   
No change required. Behavior is correct. Terminal Authentication is being checked before the synchronization process. It guarantees that orders are not sync if the terminal is not authenticated.