Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052112
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POScriticalalways2023-04-13 08:442023-04-26 08:43
Reporterandre_montenegroView Statuspublic 
Assigned Toandre_montenegro 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Support ticket
Regression levelAutomated tests
Regression date2023-04-12
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b47572cf704c97be7de2783a6b51ad04601b8ba3. [^]
Triggers an Emergency PackNo
Summary

0052112: Closing Till displays an uncaught error when reading "counted"

DescriptionRegression 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.
TagsNo tags attached.
Attached Filespng file icon CashUp_undefined_reading_counted.png [^] (419,559 bytes) 2023-04-13 08:44
png file icon CashUp_error_continue_flow.png [^] (39,566 bytes) 2023-04-13 08:44

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0148890)
andre_montenegro (viewer)
2023-04-26 08:42

Issue introduces by commit: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b47572cf704c97be7de2783a6b51ad04601b8ba3 [^]
(0148891)
andre_montenegro (viewer)
2023-04-26 08:43

Introduced commit has been reverted. So this issue is no longer reproducible.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker