Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0047690 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] Restaurants | major | always | 2021-09-14 14:53 | 2021-09-15 11:01 | |||
| Reporter | timothee_catteeuw | View Status | public | |||||
| Assigned To | AtulOpenbravo | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | TAP | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | Gold | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0047690: Error when selecting product after removing a line | |||||||
| Description | An error appears after removing a line thanks to directly set this line to 0. Able to reproduce on livebuilds : https://livebuilds.openbravo.com/retail_pos2_tap_pgsql/web/pos/?terminal=VBS-2 [^] this error appears and it is mandatory to delete ticket or open a new ticket: Cannot destructure property 'qty' of 'n.a.App.State.getState(...).Ticket.lines.find(...)' as it is undefined. | |||||||
| Steps To Reproduce | 1. go to WePos 2 2. Select several products 3. click on one of them 4. click on qty (between - and +) 5. press 0 6. Press ok 7 try to add other items --> error described below appears | |||||||
| Tags | No tags attached. | |||||||
| Attached Files |  error.png [^] (93,739 bytes) 2021-09-14 14:53 | |||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | ||||||||
| 
 | ||||||||
|  Notes | |
| (0131797) hgbot (developer) 2021-09-15 08:19 | Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/676 [^] | 
| (0131798) AtulOpenbravo (viewer) 2021-09-15 08:26 | Test Plan - Login to WebPOS2 - Select several products - click on any one of them - click on qty (between - and +) - Press 0 - Press ok - Try to add other items - Realize that items are added successfully | 
| (0131809) hgbot (developer) 2021-09-15 11:01 | Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 87dff6f71400e6cb36a4bd04495dec94a8fed30d Author: Atul Gaware <atul.gaware@openbravo.com> Date: 2021-09-15T11:50:32+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/87dff6f71400e6cb36a4bd04495dec94a8fed30d [^] Fixes BUG-47690: Error when selecting product after removing a line **In checkForLineDeletion while adding product, get qty and id from ticketLine only if the selectedLine exists in Ticket. --- M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProduct.js --- | 
| (0131810) hgbot (developer) 2021-09-15 11:01 | Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/676 [^] | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
| 2021-09-14 14:53 | timothee_catteeuw | New Issue | |
| 2021-09-14 14:53 | timothee_catteeuw | Assigned To | => Retail | 
| 2021-09-14 14:53 | timothee_catteeuw | File Added: error.png | |
| 2021-09-14 14:53 | timothee_catteeuw | OBNetwork customer | => Gold | 
| 2021-09-14 14:53 | timothee_catteeuw | Triggers an Emergency Pack | => No | 
| 2021-09-14 16:50 | dmiguelez | Status | new => scheduled | 
| 2021-09-14 16:50 | dmiguelez | Status | scheduled => acknowledged | 
| 2021-09-14 18:15 | AtulOpenbravo | Assigned To | Retail => AtulOpenbravo | 
| 2021-09-14 18:15 | AtulOpenbravo | Status | acknowledged => scheduled | 
| 2021-09-15 08:19 | hgbot | Merge Request Status | => open | 
| 2021-09-15 08:19 | hgbot | Note Added: 0131797 | |
| 2021-09-15 08:26 | AtulOpenbravo | Note Added: 0131798 | |
| 2021-09-15 11:00 | hgbot | Merge Request Status | open => approved | 
| 2021-09-15 11:01 | hgbot | Resolution | open => fixed | 
| 2021-09-15 11:01 | hgbot | Status | scheduled => closed | 
| 2021-09-15 11:01 | hgbot | Note Added: 0131809 | |
| 2021-09-15 11:01 | hgbot | Note Added: 0131810 | |
| 2021-09-15 12:07 | AtulOpenbravo | Relationship added | has duplicate 0047592 | 
| Copyright © 2000 - 2009 MantisBT Group |