Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0016878 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2011-04-23 18:43 | 2011-05-23 13:37 | |||
Reporter | rafademiguel | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 3.0MP0 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0RC6 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0016878: Remove a sales order using DAL doesn't work properly | |||||||
Description | On a process I use OBDal.getInstance().remove(order); RC5 Does work [EntityDeleteAction[OrderTax#FE059311F74D4D52BC16C391B7E70FDA], EntityDeleteAction[OrderDiscount#9F074DB50C334D89B71395024BE1505B], EntityDeleteAction[OrderLineTax#8AFF5F739B664D678089B5C5F9E94267], EntityDeleteAction[OrderLine#FF8081812F82F2FF012F82F89155000E], EntityDeleteAction[Order#FF8081812F82F2FF012F82F890AB000D]] Doesn't crash RC6 Doesn't work [EntityDeleteAction[OrderDiscount#67BACF8F841245638787E28B60E1FD67], EntityDeleteAction[OrderLineTax#22FB69144CB84594A7152FEE49CD94A0], EntityDeleteAction[OrderLine#FF8081812F81DD34012F82810586000E], EntityDeleteAction[OrderTax#BAC6E6B381CD42F99F06DF655A12A68A], EntityDeleteAction[Order#FF8081812F81DD34012F8281049D000D]] Crash deleting the tax As you can see what changes is the order deleting the elements so I have try to do this manually. Create Order with one line complete it, reactivate it and..... RC5 Deleting Order: Delete Order Tax OK Delte Order Discount OK Delete OrderLineTax OK Delete Order Line OK Delte Order OK Everything fine RC6 Deleting Order: Delete Order Discount OK Delete OrderLineTax OK Delete Order Line OK Delete Order Tax DOES NOT EXISTS (Because delete OrderLine has deleted this) AND CRASH XXXXDelete Order | |||||||
Tags | No tags attached. | |||||||
Attached Files | hbm_files.zip [^] (249,125 bytes) 2011-04-26 10:55 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0036084) rafademiguel (developer) 2011-04-26 10:57 |
Upload hbm_files.zip. Contains hbm files from RC5 and RC6 from my instance. |
(0036115) rafademiguel (developer) 2011-04-27 10:24 edited on: 2011-04-27 10:55 |
Workaround already tested: Delete OrderTax before for (OrderTax ot : salesorder.getOrderTaxList()) { OBDal.getInstance().remove(ot); } OBDal.getInstance().remove(salesorder); |
(0036424) dmitry_mezentsev (developer) 2011-05-05 17:52 |
Does not fit RC7, workaround exists. |
Issue History | |||
Date Modified | Username | Field | Change |
2011-04-23 18:43 | rafademiguel | New Issue | |
2011-04-23 18:43 | rafademiguel | Assigned To | => alostale |
2011-04-23 18:43 | rafademiguel | Modules | => Core |
2011-04-26 10:47 | jonalegriaesarte | Target Version | => 3.0RC7 |
2011-04-26 10:55 | rafademiguel | File Added: hbm_files.zip | |
2011-04-26 10:57 | rafademiguel | Note Added: 0036084 | |
2011-04-26 16:19 | dalsasua | Issue Monitored: networkb | |
2011-04-27 10:24 | rafademiguel | Note Added: 0036115 | |
2011-04-27 10:55 | rafademiguel | Note Edited: 0036115 | View Revisions |
2011-05-02 10:40 | alostale | Status | new => scheduled |
2011-05-02 10:40 | alostale | Assigned To | alostale => marvintm |
2011-05-02 10:40 | alostale | fix_in_branch | => pi |
2011-05-05 17:52 | dmitry_mezentsev | Note Added: 0036424 | |
2011-05-05 17:52 | dmitry_mezentsev | Target Version | 3.0RC7 => 3.0MP0 |
2011-05-05 17:52 | dmitry_mezentsev | fix_in_branch | pi => |
2011-05-17 09:15 | iperdomo | Priority | high => normal |
2011-05-17 13:41 | iperdomo | Priority | normal => urgent |
2011-05-23 13:37 | psarobe | Relationship added | duplicate of 0017199 |
2011-05-23 13:37 | psarobe | Status | scheduled => closed |
2011-05-23 13:37 | psarobe | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |