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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047690
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsmajoralways2021-09-14 14:532021-09-15 11:01
Reportertimothee_catteeuwView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047690: Error when selecting product after removing a line

DescriptionAn 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 Reproduce1. 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
TagsNo tags attached.
Attached Filespng file icon error.png [^] (93,739 bytes) 2021-09-14 14:53

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047691TAP scheduledAtulOpenbravo Error when selecting product after removing a line 
has duplicate defect 0047592 closedAtulOpenbravo Error when updating ticket line quantity to zero and adding a new product 
Not all the children of this issue are yet resolved or closed.

-  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 (developer)
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 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 Note Added: 0131797
2021-09-15 08:26 AtulOpenbravo Note Added: 0131798
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
Powered by Mantis Bugtracker