Openbravo Issue Tracking System - POS2
View Issue Details
0049422POS2POSpublic2022-05-26 09:542023-07-21 16:05
lorenzofidalgo 
meriem_azaf 
normalmajoralways
closedfixed 
5
main 
23Q4 
guilleaer
No
0049422: It is not possible to log in when a new payment method has been created and only that payment method is "Defined In Safebox"
While it is possible to create a new cash payment method and use it properly, if that same payment method is "Defined in Safebox" and that Channel - Touchpoint Type header has the "Use Safe Box" checkbox as True, it will not be possible to log in and the following error message will be shown "At least one of the payment method should be defined as Safe Box" (check attached image).
0-Login POS2 backoffice as Openbravo and to configure the new payment method, go to Channel - Touchpoint Type window and enter the "POS2SD VBS POS2 Terminal Type" record.
1-Go to Payment Method tab and create a new record with pm1 image values (attached).
2-Go to Financial Account window and create a new record with Name "POS2SD CashbookSafeBoxes - Vall Blanca Store- VBS2" and complete header and Payment Method tab with the values of fa1 image (attached).
3-Go to Channel - Touchpoint window and select VBS-2 record. There go to Payment Type tab and create a new record with the values of the pt1 values (attached).
4-Now, go back to Channel - Touchpoint Type window, select "POS2SD VBS POS2 Terminal Type" header record and now go to the previously created OBPOS_cashSafeBox payment method created in the Payment Method tab.
5-In the header, activate Use Safe Box checkbox and, in the Payment Method tab, activate "Defined In Safebox".
6-Now go to POS2 and try to login using vallblanca//openbravo. DEFECT: Realise an error message is shown and it is not possible to log in
Find where the error is being thrown and replace it with a warning message.
No tags attached.
png WhythisError.png (36,341) 2022-05-26 09:54
https://issues.openbravo.com/file_download.php?file_id=17063&type=bug
png

png DefinedAsSafeBox.png (112,945) 2022-05-26 09:54
https://issues.openbravo.com/file_download.php?file_id=17064&type=bug
png

png fa1.png (82,324) 2022-05-26 09:54
https://issues.openbravo.com/file_download.php?file_id=17065&type=bug
png

png pm1.png (78,828) 2022-05-26 09:55
https://issues.openbravo.com/file_download.php?file_id=17066&type=bug
png

png pt1.png (77,164) 2022-05-26 09:55
https://issues.openbravo.com/file_download.php?file_id=17067&type=bug
png
Issue History
2022-05-26 09:54lorenzofidalgoNew Issue
2022-05-26 09:54lorenzofidalgoAssigned To => lorenzofidalgo
2022-05-26 09:54lorenzofidalgoTriggers an Emergency Pack => No
2022-05-26 09:54lorenzofidalgoFile Added: WhythisError.png
2022-05-26 09:54lorenzofidalgoFile Added: DefinedAsSafeBox.png
2022-05-26 09:54lorenzofidalgoFile Added: fa1.png
2022-05-26 09:55lorenzofidalgoFile Added: pm1.png
2022-05-26 09:55lorenzofidalgoFile Added: pt1.png
2022-05-27 07:26lorenzofidalgoAssigned Tolorenzofidalgo => Retail
2023-06-26 15:05AugustoMauchProposed Solution updated
2023-06-26 15:05AugustoMauchAssigned ToRetail => meriem_azaf
2023-07-06 14:38meriem_azafStatusnew => acknowledged
2023-07-06 14:39meriem_azafStatusacknowledged => scheduled
2023-07-06 16:19hgbotNote Added: 0152166
2023-07-19 10:30hgbotResolutionopen => fixed
2023-07-19 10:30hgbotStatusscheduled => resolved
2023-07-19 10:30hgbotNote Added: 0152649
2023-07-19 10:30hgbotFixed in Version => RR23Q4
2023-07-19 10:30hgbotNote Added: 0152650
2023-07-21 16:05cbernerReview Assigned To => guilleaer
2023-07-21 16:05cbernerStatusresolved => closed
2023-07-21 16:05cbernerFixed in VersionRR23Q4 => 23Q4

Notes
(0152166)
hgbot   
2023-07-06 16:19   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1269 [^]
(0152649)
hgbot   
2023-07-19 10:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1269 [^]
(0152650)
hgbot   
2023-07-19 10:30   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 93d914bf2fa8f895074cfe5819b82837f01b9f65
Author: meriem azaf <meriem.azaf@openbravo.com>
Date: 19-07-2023 08:30:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/93d914bf2fa8f895074cfe5819b82837f01b9f65 [^]

Fixes ISSUE-49422: It is not possible to log in when a new payment method has...

---
M src/org/openbravo/retail/posterminal/InitialValidations.java
---