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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028627
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-01-15 14:502015-02-19 09:05
ReportermarvintmView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionea761fbc7259
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028627: The clearModelWith function of some models is not generic

DescriptionThe clearModelWith function of the Bplocation model is not generic, because it clears only the the attributes it knows about instead of all of the attributes of the object. It should be changed to take into account that the model can be extended and can have more attributes than in the standard POS installation.

The same thing should be done with the BusinessPartner model.
Steps To Reproduce- Extend the bplocation or business partner model.
- Verify that new properties are not properly cleared.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0074269)
hgbot (developer)
2015-02-09 09:25

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ea761fbc7259d1dfc6241529f208e0852ee4605c
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Feb 09 09:15:10 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea761fbc7259d1dfc6241529f208e0852ee4605c [^]

Fixed issue 28627: The clearModelWith function of some models is not generic

Changed manual assignment of properties to use OB.UTIL.clone instead, to ensure that properties added to the models are properly copied (when cloning an existing object) or removed (when cloning an empty or null object).

---
M web/org.openbravo.retail.posterminal/js/model/bplocation.js
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---
(0074635)
migueldejuana (developer)
2015-02-19 09:05

Tested and reviewed in 260e72a513b6

- Issue History
Date Modified Username Field Change
2015-01-15 14:50 marvintm New Issue
2015-01-15 14:50 marvintm Assigned To => marvintm
2015-01-15 14:50 marvintm Triggers an Emergency Pack => No
2015-01-16 03:09 Guillaume_Jump Issue Monitored: Guillaume_Jump
2015-02-09 09:25 hgbot Checkin
2015-02-09 09:25 hgbot Note Added: 0074269
2015-02-09 09:25 hgbot Status new => resolved
2015-02-09 09:25 hgbot Resolution open => fixed
2015-02-09 09:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea761fbc7259d1dfc6241529f208e0852ee4605c [^]
2015-02-19 09:05 migueldejuana Review Assigned To => migueldejuana
2015-02-19 09:05 migueldejuana Note Added: 0074635
2015-02-19 09:05 migueldejuana Status resolved => closed
2015-02-19 09:05 migueldejuana Assigned To marvintm => aaroncalero


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker