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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027163
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POStrivialhave not tried2014-07-23 09:582014-09-01 16:33
ReporternaiaramartinezView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionopenFixed in Version
StatusclosedFix in branchFixed in SCM revisiona8573391d98b
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

0027163: When cloning an object, the properties that exists in B object but not in A are not deleted.

DescriptionWhen removing an order in WebPOS it is not deleting new properties that have been added to the order. When removing, new order is cloned but the 'new' properties are not removed. This is because, when cloning an object, the properties that exists in B object but not in A are not deleted.

Steps To ReproduceCreate a button that adds new property to the order ( for example, coupons: "a").
Create an order in WebPos.
Click in the button to add the new property.
Remove the order. notice that the property 'coupons' is still there.
TagsNo tags attached.
Attached Filesdiff file icon issue27163.diff [^] (938 bytes) 2014-08-26 12:31 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0027697 closedmarvintm Order model is not correctly removing previous orders attributes 
causes design defect 0028694 closedOrekaria The creationDate is not part of the receipt attributes 

-  Notes
(0069754)
hgbot (developer)
2014-08-26 12:38

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a8573391d98b7f85c02d423f17f5621caa370eca
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Aug 26 12:38:25 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8573391d98b7f85c02d423f17f5621caa370eca [^]

Fixed issue 27163: When cloning an object, the properties that exists in B object but not in A are not deleted

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0069875)
mtaal (manager)
2014-09-01 08:39

I am reviewing but I need to re-open the issue. I guess the code could/should move inside the first _.each and then as an 'else' as part of the if statement in there.
The current code will fail if the object is not a type object.

Let me know what you think on this.

gr. Martin
(0069891)
hgbot (developer)
2014-09-01 16:05

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 014296eb0a7abbe5770b849ec19db4e3f6b9ee25
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Mon Sep 01 13:54:25 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/014296eb0a7abbe5770b849ec19db4e3f6b9ee25 [^]

Related to issue 27163: move code inside an IF where the clonedObject is initialized

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0069899)
mtaal (manager)
2014-09-01 16:33

Reviewed

- Issue History
Date Modified Username Field Change
2014-07-23 09:58 naiaramartinez New Issue
2014-07-23 09:58 naiaramartinez Assigned To => marvintm
2014-07-23 09:58 naiaramartinez Triggers an Emergency Pack => No
2014-07-23 09:58 naiaramartinez Assigned To marvintm => naiaramartinez
2014-08-26 12:31 naiaramartinez File Added: issue27163.diff
2014-08-26 12:32 naiaramartinez Review Assigned To => mtaal
2014-08-26 12:38 hgbot Checkin
2014-08-26 12:38 hgbot Note Added: 0069754
2014-08-26 12:38 hgbot Status new => resolved
2014-08-26 12:38 hgbot Resolution open => fixed
2014-08-26 12:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8573391d98b7f85c02d423f17f5621caa370eca [^]
2014-09-01 08:39 mtaal Note Added: 0069875
2014-09-01 08:39 mtaal Status resolved => new
2014-09-01 08:39 mtaal Resolution fixed => open
2014-09-01 16:05 hgbot Checkin
2014-09-01 16:05 hgbot Note Added: 0069891
2014-09-01 16:11 naiaramartinez Status new => scheduled
2014-09-01 16:11 naiaramartinez Status scheduled => resolved
2014-09-01 16:33 mtaal Note Added: 0069899
2014-09-01 16:33 mtaal Status resolved => closed
2014-09-29 08:25 guillermogil Relationship added has duplicate 0027697
2015-01-20 14:55 Orekaria Relationship added causes 0028694


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker