Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0047925Openbravo LocalizationsOtherspublic2021-10-22 13:502021-11-24 08:36
avicente 
 
highmajoralways
newopen 
5
 
 
0047925: AT EFSTA: Web POS shows an error message if EFR is offline. This error needs to be managed by POS.
The EFSTA module does not support the EFR offline mode. This is when the EFR cannot connect with EFSTA.

-In online mode, EFR returns the ‘Signature Link’ and the ‘Signature’.
-In offline mode, EFR does not return the ‘Signature Link’, it returns only hte ‘Signature’.

The ‘Signature Link’ is expected even in the offline scenario. As it is missed, an error is raised in the POS and the ticket cannot be paid.
See video https://watch.screencastify.com/v/jRlhjMUipmVnlT9guIMH [^]
In EFR offline mode, the 'SignatureLink' shouldn't be expected by the POS.

Attached a patch
NOR
related to defect 0047897 new Retail AT EFSTA: The DocumentNo is not informed when the ticket is sent to EFSTA to be signed 
related to defect 0047896 new  EFSTA AT: The same ticket can be signed several times and it shouldn't 
diff offline.diff (1,062) 2021-11-24 08:36
https://issues.openbravo.com/file_download.php?file_id=16394&type=bug
Issue History
2021-10-22 13:50avicenteNew Issue
2021-10-22 13:50avicenteTag Attached: NOR
2021-10-22 13:51avicenteRelationship addedrelated to 0047897
2021-10-22 13:51avicenteSummaryEFSTA AT: the EFR offline mode is not supported => AT EFSTA: the EFR offline mode is not supported
2021-10-22 14:51rafarodaRelationship addedrelated to 0047896
2021-11-18 16:19psanjuanSummaryAT EFSTA: the EFR offline mode is not supported => AT EFSTA: Web POS shows an error message if EFR is offline. This error needs to be managed by POS.
2021-11-18 16:23adrianromeroNote Added: 0133192
2021-11-18 16:23adrianromeroNote Edited: 0133192bug_revision_view_page.php?bugnote_id=0133192#r23340
2021-11-24 08:35jetxarriProposed Solution updated
2021-11-24 08:36jetxarriFile Added: offline.diff

Notes
(0133192)
adrianromero   
2021-11-18 16:23   
If EFR cannot reach EFSTA because it is offline. This has to be managed by EFSTA as we do not have control over any of these artifacts.

What should be fixed in the Openbravo side if Signature is received but not SignatureLink, is just not to fail and continue storing only the Signature field and leaving SignatureLink empty as EFR has not been able to generate it
.