Openbravo Issue Tracking System - POS2 | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0052112 | POS2 | POS | public | 2023-04-13 08:44 | 2023-04-26 08:43 |
| Reporter | andre_montenegro | ||||
| Assigned To | andre_montenegro | ||||
| Priority | high | Severity | critical | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | Automated tests | ||||
| Regression date | 2023-04-12 | ||||
| Regression introduced in release | |||||
| Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b47572cf704c97be7de2783a6b51ad04601b8ba3. [^] | ||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0052112: Closing Till displays an uncaught error when reading "counted" | ||||
| Description | Regression whenever a close till flow is started and searches for payment methods amounts to count, a red notification is displayed with the following message: Cannot read properties of undefined (reading 'counted') If user decides to match payment methods and continue with the close till flow to the next step, a full screen error is displayed with the following message: Cannot destructure property 'amountToKeep' of 'b.current' as it is undefined. This is ONLY visible if a payment method (Card, Cash, Voucher, USA Cash) has been previously used to pay a ticket. | ||||
| Steps To Reproduce | -Login POS2 (livebuilds) -Add avalanche transceiver to the ticket -Pay the ticket with Cash (for example) -Unfold lateral option "Till" and click "Close Till" NOK - Notice the error notification at bottom of the screen EXTRA: If trying to continue with flow - Match Expected for payment method (notice anormal grid refresh when clicking "Counted" input field for payment method") - Click "Next" button NOK - Full screen error is displayed with the message: Cannot destructure property 'amountToKeep' of 'b.current' as it is undefined. | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=18363&type=bug https://issues.openbravo.com/file_download.php?file_id=18364&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2023-04-13 08:44 | andre_montenegro | New Issue | |||
| 2023-04-13 08:44 | andre_montenegro | Assigned To | => Retail | ||
| 2023-04-13 08:44 | andre_montenegro | File Added: CashUp_undefined_reading_counted.png | |||
| 2023-04-13 08:44 | andre_montenegro | OBNetwork customer | => No | ||
| 2023-04-13 08:44 | andre_montenegro | Regression level | => Automated tests | ||
| 2023-04-13 08:44 | andre_montenegro | Regression date | => 2023-04-12 | ||
| 2023-04-13 08:44 | andre_montenegro | Triggers an Emergency Pack | => No | ||
| 2023-04-13 08:44 | andre_montenegro | File Added: CashUp_error_continue_flow.png | |||
| 2023-04-13 08:44 | andre_montenegro | Priority | normal => high | ||
| 2023-04-13 08:44 | andre_montenegro | Severity | major => critical | ||
| 2023-04-13 08:44 | andre_montenegro | Reproducibility | have not tried => always | ||
| 2023-04-26 08:39 | andre_montenegro | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b47572cf704c97be7de2783a6b51ad04601b8ba3. [^] | ||
| 2023-04-26 08:40 | andre_montenegro | Note Added: 0148889 | |||
| 2023-04-26 08:41 | andre_montenegro | Resolution | open => fixed | ||
| 2023-04-26 08:41 | andre_montenegro | Assigned To | Retail => andre_montenegro | ||
| 2023-04-26 08:42 | andre_montenegro | Note Added: 0148890 | |||
| 2023-04-26 08:42 | andre_montenegro | Status | new => acknowledged | ||
| 2023-04-26 08:43 | andre_montenegro | Status | acknowledged => scheduled | ||
| 2023-04-26 08:43 | andre_montenegro | Status | scheduled => resolved | ||
| 2023-04-26 08:43 | andre_montenegro | Note Added: 0148891 | |||
| 2023-04-26 08:43 | andre_montenegro | Status | resolved => closed | ||
| 2023-04-26 08:43 | andre_montenegro | Note Deleted: 0148889 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||