Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028627 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2015-01-15 14:50 | 2015-02-19 09:05 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | aaroncalero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | ea761fbc7259 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028627: The clearModelWith function of some models is not generic | |||||||
Description | The 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2015-02-19 09:05 |
Tested and reviewed in 260e72a513b6 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |