Openbravo Issue Tracking System - POS2
View Issue Details
0047633POS2POSpublic2021-09-06 11:582021-11-20 07:17
jorge-garcia 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
 
approved
javierRodriguez
No
No
0047633: Deleting qty value leaves the app in an inconsistent state
Deleting qty value leaves the app in an inconsistent state
1) Login in the application in terminal VBS-1
2) Add a product (i.e. Avalanche Transceiver)
3) Click on the line and click on Qty input in the popover
4) Delete the Qty with the Backspace button
5) Click on OK button
6) The line disappears from the ticket
7) Try to add any other or the same product
8) An snackbar error is raised and it is impossible to add a product until the ticket is deleted(check error2.png)
No tags attached.
related to defect 0047631 closed jorge-garcia If defined price in Set Price is empty, the application is raising a JS error 
related to backport 0048057TAP closed prakashmurugesan88 JIRA 2492 - Particular issue when returning products with amount = -1 
png error2.png (61,201) 2021-09-06 11:58
https://issues.openbravo.com/file_download.php?file_id=16179&type=bug
png
Issue History
2021-09-06 11:58jorge-garciaNew Issue
2021-09-06 11:58jorge-garciaAssigned To => Retail
2021-09-06 11:58jorge-garciaFile Added: error2.png
2021-09-06 11:58jorge-garciaOBNetwork customer => No
2021-09-06 11:58jorge-garciaTriggers an Emergency Pack => No
2021-09-07 08:42jorge-garciaAssigned ToRetail => jorge-garcia
2021-09-07 08:42jorge-garciaStatusnew => scheduled
2021-09-07 12:33hgbotMerge Request Status => open
2021-09-07 12:33hgbotNote Added: 0131592
2021-09-07 12:33hgbotNote Added: 0131593
2021-09-07 13:23jorge-garciaRelationship addedblocks 0047631
2021-09-07 13:23jorge-garciaRelationship deletedblocks 0047631
2021-09-07 13:23jorge-garciaRelationship addedrelated to 0047631
2021-09-08 14:43jorge-garciaReview Assigned To => javierRodriguez
2021-09-08 17:23hgbotMerge Request Statusopen => approved
2021-09-09 07:56hgbotNote Added: 0131668
2021-09-09 07:56hgbotNote Added: 0131669
2021-09-09 07:57hgbotNote Added: 0131670
2021-09-09 07:57hgbotResolutionopen => fixed
2021-09-09 07:57hgbotStatusscheduled => closed
2021-09-09 07:57hgbotNote Added: 0131671
2021-11-20 07:15prakashmurugesan88Relationship addedrelated to 0048057
2021-11-20 07:17prakashmurugesan88Note Added: 0133228

Notes
(0131592)
hgbot   
2021-09-07 12:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/628 [^]
(0131593)
hgbot   
2021-09-07 12:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/670 [^]
(0131668)
hgbot   
2021-09-09 07:56   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 0bfdffdb7a18bc7890db7fa8e99599f8332bec99
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-09-09T07:44:14+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/0bfdffdb7a18bc7890db7fa8e99599f8332bec99 [^]

Related to ISSUE-47633: Include warning message for invalid input values

---
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0131669)
hgbot   
2021-09-09 07:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/628 [^]
(0131670)
hgbot   
2021-09-09 07:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/670 [^]
(0131671)
hgbot   
2021-09-09 07:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8de75b5ac570bca03421ebf716edeb7b7f86d231
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-09-09T07:38:11+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8de75b5ac570bca03421ebf716edeb7b7f86d231 [^]

Fixed ISSUE-47633: Handle qty input value in case it is empty

If the final quantity to add is lesser or equal than 0, avoid
selecting the line as it will be deleted by the action

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
---
(0133228)
prakashmurugesan88   
2021-11-20 07:17   
Backported to tap as part of the fix of 48057