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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030598
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-08-18 22:522015-09-11 11:35
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision1b62dd31b2e9
ProjectionnoneETAnoneTarget VersionRR15Q4
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

0030598: Stabilization: 'receipt.clearWith' is used when 'OB.UTIL.clone' should

Descriptionreceipt.clearWith should never be used or, at most, only be used with the UI receipt
OB.UTIL.clone should be used

The problem is that the clearWith method triggers events that a clone other that then UI clone should not made use of

Use OB.UTIL.clone instead
Steps To ReproduceActivate in Development mode
Apply the part of the patch that verifies that the clearWith is only used with the UI receipt
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on design defect 0030479RR15Q4 closedOrekaria Stabilization: Creating a clone of an object should not fire any event 
blocks defect 0030603RR15Q4 closedOrekaria Stabilization: RR15Q4 related issues 

-  Notes
(0079414)
hgbot (developer)
2015-08-18 22:59

Repository: erp/pmods/org.openbravo.retail.printlast
Changeset: 38c065cd2dbb7e87e45da14f045fc1fde6ca17eb
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 18 22:57:58 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.printlast/rev/38c065cd2dbb7e87e45da14f045fc1fde6ca17eb [^]

Related to issue 30598: OB.UTIL.clone is used to clone the receipt

- jsLint

---
M web/org.openbravo.retail.printlast/js/printLastButton.js
---
(0079415)
hgbot (developer)
2015-08-18 23:15

Repository: erp/pmods/org.openbravo.retail.printlast
Changeset: b6188e290fbd850f2305f7dee17ea188593e64d3
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 18 23:15:21 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.printlast/rev/b6188e290fbd850f2305f7dee17ea188593e64d3 [^]

Related to issue 30598: OB.UTIL.clone is used to clone the receipt (II)

---
M web/org.openbravo.retail.printlast/js/printLastButton.js
---
(0079606)
hgbot (developer)
2015-08-22 20:35

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1b62dd31b2e99d74d152a3a9fe10a1061e019e09
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sat Aug 22 20:32:56 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1b62dd31b2e99d74d152a3a9fe10a1061e019e09 [^]

Fixes issue 30598: ClearWith is not used to clone the UI receipt

- its only use is to update and fire events of the UI receipt

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---

- Issue History
Date Modified Username Field Change
2015-08-18 22:52 Orekaria New Issue
2015-08-18 22:52 Orekaria Assigned To => Orekaria
2015-08-18 22:52 Orekaria Triggers an Emergency Pack => No
2015-08-18 22:55 Orekaria Summary receipt.clearWith should only be used with the UI receipt => receipt.clearWith is used when OB.UTIL.clone should be used
2015-08-18 22:55 Orekaria Description Updated View Revisions
2015-08-18 22:59 hgbot Checkin
2015-08-18 22:59 hgbot Note Added: 0079414
2015-08-18 23:12 Orekaria Relationship added depends on 0030479
2015-08-18 23:15 hgbot Checkin
2015-08-18 23:15 hgbot Note Added: 0079415
2015-08-19 12:34 Orekaria Relationship added blocks 0030603
2015-08-19 18:33 Orekaria Target Version => RR15Q4
2015-08-19 18:33 Orekaria Summary receipt.clearWith is used when OB.UTIL.clone should be used => Stabilization: receipt.clearWith is used when OB.UTIL.clone should be used
2015-08-22 20:35 hgbot Checkin
2015-08-22 20:35 hgbot Note Added: 0079606
2015-08-22 20:35 hgbot Status new => resolved
2015-08-22 20:35 hgbot Resolution open => fixed
2015-08-22 20:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1b62dd31b2e99d74d152a3a9fe10a1061e019e09 [^]
2015-08-22 20:49 Orekaria Summary Stabilization: receipt.clearWith is used when OB.UTIL.clone should be used => Stabilization: 'receipt.clearWith' is used when 'OB.UTIL.clone' should
2015-08-22 20:50 Orekaria Description Updated View Revisions
2015-09-11 11:35 marvintm Review Assigned To => marvintm
2015-09-11 11:35 marvintm Status resolved => closed
2015-09-11 11:35 marvintm Fixed in Version => RR15Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker