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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031206
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-10-21 16:352015-11-13 11:40
ReportermigueldejuanaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision5ae73248f198
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031206: Creating and assigning a new bp, fails in the second try and onwards

DescriptionWhen we create a new bp, we can assign it to the order. We are passing the new bp as parameter to assign it to order bp. What is wrong? We are using a reference, no a new object, so if we change sent customer, we also change order bp. It happens when we create an bp, so the next time we create an order, we are changing customer passed as parameter and therefore order bp.

In web pos, the second time we create and assign a new bp, it is not assigned to the order. In case of remote customers, we get a javascript error.
Steps To Reproduce- Login
- Open bp modal
- New Customer
- Fill info and assign the customer to the order
- Open bp modal
- New Customer
- Fill info and assign the customer to the order
. ERROR: The bp is not assigned
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0031463RR15Q4 closedmigueldejuana Creating and assigning a new bp, fails in the second try and onwards 

-  Notes
(0081194)
hgbot (developer)
2015-10-22 11:03

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b1d98e5387e9e9a21a1baa041fc0f96e539d59e8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 21 16:36:49 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b1d98e5387e9e9a21a1baa041fc0f96e539d59e8 [^]

Fixed issue 0031206: Creating and assigning a new bp, fails in the second try and onwards

We are passing the new bp as parameter to assign it to order bp. What is wrong? We are using a reference, no a new object, so if we change sent customer, we also change order bp

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/components/sharedcomponents.js
---
(0081283)
mtaal (manager)
2015-10-25 20:13

Adapted automated test, accidentally pushed to wrong ticket
http://code.openbravo.com/tools/automation/pi-mobile/rev/bdaf73752ec887af1f8d4bea1ea5fc7883e7b714 [^]
(0081284)
mtaal (manager)
2015-10-25 20:13

Reviewed
(0081322)
migueldejuana (developer)
2015-10-26 18:39

It also happens in Customer Adress.
(0081341)
hgbot (developer)
2015-10-27 11:11

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5ae73248f1982af74bc89d6688ff006712a621f6
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 26 18:38:12 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ae73248f1982af74bc89d6688ff006712a621f6 [^]

Fixed issue 0031206: Creating and assigning a new bp, fails in the second try and onwards

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/components/sharedcomponents.js
---
(0081590)
mtaal (manager)
2015-11-08 20:27

Reviewed and tested

- Issue History
Date Modified Username Field Change
2015-10-21 16:35 migueldejuana New Issue
2015-10-21 16:35 migueldejuana Assigned To => migueldejuana
2015-10-21 16:35 migueldejuana Triggers an Emergency Pack => No
2015-10-21 16:35 migueldejuana Review Assigned To => mtaal
2015-10-22 11:03 hgbot Checkin
2015-10-22 11:03 hgbot Note Added: 0081194
2015-10-22 11:03 hgbot Status new => resolved
2015-10-22 11:03 hgbot Resolution open => fixed
2015-10-22 11:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b1d98e5387e9e9a21a1baa041fc0f96e539d59e8 [^]
2015-10-25 20:13 mtaal Note Added: 0081283
2015-10-25 20:13 mtaal Note Added: 0081284
2015-10-25 20:13 mtaal Status resolved => closed
2015-10-25 20:13 mtaal Fixed in Version => RR16Q1
2015-10-26 18:39 migueldejuana Note Added: 0081322
2015-10-26 18:39 migueldejuana Status closed => new
2015-10-26 18:39 migueldejuana Resolution fixed => open
2015-10-26 18:39 migueldejuana Fixed in Version RR16Q1 =>
2015-10-27 11:11 hgbot Checkin
2015-10-27 11:11 hgbot Note Added: 0081341
2015-10-27 11:11 hgbot Status new => resolved
2015-10-27 11:11 hgbot Resolution open => fixed
2015-10-27 11:11 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b1d98e5387e9e9a21a1baa041fc0f96e539d59e8 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ae73248f1982af74bc89d6688ff006712a621f6 [^]
2015-11-08 20:27 mtaal Note Added: 0081590
2015-11-08 20:27 mtaal Status resolved => closed
2015-11-08 20:27 mtaal Fixed in Version => RR16Q1
2015-11-13 11:40 Orekaria Status closed => new
2015-11-13 11:40 Orekaria Resolution fixed => open
2015-11-13 11:40 Orekaria Fixed in Version RR16Q1 =>
2015-11-13 11:40 Orekaria Status new => scheduled
2015-11-13 11:40 Orekaria Status scheduled => resolved
2015-11-13 11:40 Orekaria Fixed in Version => RR16Q1
2015-11-13 11:40 Orekaria Resolution open => fixed
2015-11-13 11:40 Orekaria Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker