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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041910
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalalways2019-10-01 17:432019-12-18 16:38
ReporterkchoperenaView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revisione05daa1f3802
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041910: The 'Assign Customer' button of 'View Details' window is launching a BPLocation query without id

DescriptionPREFERENCE: Enable Remote for Customer=Y

In the customers selector, in the context menu, if we open the 'View Details' window and click on 'Assign Customer' the Web POS is executing 4 times the BPLocation query:
1.- BPLocation -> Without id location value
2.- BPLocation -> Without id location value
3.- BPLocation -> With expected id location value
4.- BPLocation -> With expected id location value

NOTE: In BUT, as the query is executing without id, postgresql creates temporal files to manage the result data
Steps To Reproduce1.- Log into the WebPOS
2.- Do an empty search in the customer selector
3.- Using the context menu, click on 'View Details' button
4.- Click on 'Assign Customer' button

EXPECTED RESULT:
Check in the developer tools executed BPLocation queries, will be 4.

NOTE: If you execute again the flow using the same customer, you should only have 2 queries that are correct.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0042599RR19Q4.1 closedrqueralta The 'Assign Customer' button of 'View Details' window is launching a BPLocation query without id 
depends on backport 0042600RR19Q3.2 closedrqueralta The 'Assign Customer' button of 'View Details' window is launching a BPLocation query without id 
related to defect 0042386 closedranjith_qualiantech_com BP location is not being changed in the ticket even though we have two different addresses for a BP in POS 

-  Notes
(0115002)
hgbot (developer)
2019-10-10 15:13

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5d33385adfb1bc9c62397936c2c16216c43bd629
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Oct 04 18:16:24 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5d33385adfb1bc9c62397936c2c16216c43bd629 [^]

Fixed issue 41910: The 'Assign Customer' button of 'View Details' window is
launching a BPLocation query without id

- Seted locations id for BLocation query when remote customer preference was
enabled

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0115072)
hgbot (developer)
2019-10-14 15:31

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9466f1277dff0125957f87d9dde5b1d35d6017ee
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Oct 14 15:25:08 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9466f1277dff0125957f87d9dde5b1d35d6017ee [^]

Related to issue 41910: Backed out changeset 5d33385adfb1

Some tests are failing

I37600_VerifyNewCustomerReceipt

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0115172)
hgbot (developer)
2019-10-21 04:51

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e05daa1f380293e80c3fd810097572f53ebd7b42
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Oct 18 22:41:22 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e05daa1f380293e80c3fd810097572f53ebd7b42 [^]

Fixed issue 41910: The 'Assign Customer' button of 'View Details' window is
launching a BPLocation query without id

- Seted locations id for BLocation query when remote customer preference was
enabled

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0115835)
guilleaer (manager)
2019-11-26 13:40

A new fix for this issue has been created

http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b08eea5a0378790b5f17d27e2e1dbf629609c638 [^]

This fix reverts changeset [http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e05daa1f380293e80c3fd810097572f53ebd7b42 [^]] and add required code to fix this issue

- Issue History
Date Modified Username Field Change
2019-10-01 17:43 kchoperena New Issue
2019-10-01 17:43 kchoperena Assigned To => Retail
2019-10-01 17:43 kchoperena Resolution time => 1571004000
2019-10-01 17:43 kchoperena Triggers an Emergency Pack => No
2019-10-01 17:50 kchoperena Description Updated View Revisions
2019-10-01 18:04 ALopetegui Issue Monitored: ALopetegui
2019-10-01 19:50 rqueralta Assigned To Retail => rqueralta
2019-10-01 23:28 rqueralta Status new => scheduled
2019-10-10 15:13 hgbot Checkin
2019-10-10 15:13 hgbot Note Added: 0115002
2019-10-10 15:14 hgbot Status scheduled => resolved
2019-10-10 15:14 hgbot Resolution open => fixed
2019-10-10 15:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5d33385adfb1bc9c62397936c2c16216c43bd629 [^]
2019-10-14 15:31 hgbot Checkin
2019-10-14 15:31 hgbot Note Added: 0115072
2019-10-18 12:36 marvintm Status resolved => new
2019-10-18 12:36 marvintm Resolution fixed => open
2019-10-21 04:51 hgbot Checkin
2019-10-21 04:51 hgbot Note Added: 0115172
2019-10-21 04:51 hgbot Status new => resolved
2019-10-21 04:51 hgbot Resolution open => fixed
2019-10-21 04:51 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5d33385adfb1bc9c62397936c2c16216c43bd629 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e05daa1f380293e80c3fd810097572f53ebd7b42 [^]
2019-10-23 15:45 marvintm Review Assigned To => marvintm
2019-10-23 15:45 marvintm Status resolved => closed
2019-10-23 15:45 marvintm Fixed in Version => RR20Q1
2019-11-26 13:29 guilleaer Relationship added related to 0042386
2019-11-26 13:40 guilleaer Note Added: 0115835
2019-12-18 16:37 marvintm Severity major => critical
2019-12-18 16:37 marvintm Status closed => new
2019-12-18 16:37 marvintm Resolution fixed => open
2019-12-18 16:37 marvintm Fixed in Version RR20Q1 =>
2019-12-18 16:38 marvintm Status new => scheduled
2019-12-18 16:38 marvintm Status scheduled => resolved
2019-12-18 16:38 marvintm Fixed in Version => RR20Q1
2019-12-18 16:38 marvintm Resolution open => fixed
2019-12-18 16:38 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker