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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027737
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2014-10-02 11:052015-01-13 17:47
ReporterguillermogilView Statuspublic 
Assigned Toguillermogil 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision074d8f07e811
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027737: Order model is not correctly removing previous orders attributes, it should unset the attribute

DescriptionOrder model is not correctly removing previous orders attributes, it should unset the attribute. Right now it just set the value to null.
Steps To ReproduceCreate an order
Set a new property to order model
Close the order
Create a new one
You will see that property set to null
Proposed SolutionUnset the property instead of setting it to null
TagsNo tags attached.
Attached Filesdiff file icon unsetProperties.diff [^] (510 bytes) 2014-10-02 11:06 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0070653)
guillermogil (manager)
2014-10-02 11:06

You can find attached the proposed solution
(0073345)
hgbot (developer)
2015-01-08 11:18

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 074d8f07e811fb26c4218114f0746baed164145a
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Thu Jan 08 11:17:55 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/074d8f07e811fb26c4218114f0746baed164145a [^]

Fixed issue 27737: Order model is not removing previous orders attributes

Use unset property instead of setting it to null

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0073474)
hgbot (developer)
2015-01-13 17:47

Repository: tools/automation/pi-mobile
Changeset: 196e02ccfc2738dc4dd74276c33efe3c9b479545
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Jan 09 12:21:50 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/196e02ccfc2738dc4dd74276c33efe3c9b479545 [^]

Related to issue 27737: Added test 'I27737_TemporaryReceiptAttributesShouldNotBeCloned'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I27737_TemporaryReceiptAttributesShouldNotBeCloned.java
---

- Issue History
Date Modified Username Field Change
2014-10-02 11:05 guillermogil New Issue
2014-10-02 11:05 guillermogil Assigned To => marvintm
2014-10-02 11:05 guillermogil Triggers an Emergency Pack => No
2014-10-02 11:06 guillermogil File Added: unsetProperties.diff
2014-10-02 11:06 guillermogil Note Added: 0070653
2015-01-08 11:10 guillermogil Issue Monitored: marvintm
2015-01-08 11:10 guillermogil Review Assigned To => marvintm
2015-01-08 11:10 guillermogil Assigned To marvintm => guillermogil
2015-01-08 11:18 hgbot Checkin
2015-01-08 11:18 hgbot Note Added: 0073345
2015-01-08 11:18 hgbot Status new => resolved
2015-01-08 11:18 hgbot Resolution open => fixed
2015-01-08 11:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/074d8f07e811fb26c4218114f0746baed164145a [^]
2015-01-09 12:23 Orekaria Review Assigned To marvintm => Orekaria
2015-01-09 12:23 Orekaria Status resolved => closed
2015-01-09 12:23 Orekaria Fixed in Version => pi
2015-01-13 17:47 hgbot Checkin
2015-01-13 17:47 hgbot Note Added: 0073474


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker