Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012601Openbravo ERP00. Application dictionarypublic2010-03-09 10:002010-03-16 08:41
networkb 
alostale 
urgentcriticalalways
closedfixed 
5
2.50MP12 
2.50MP142.50MP14 
Core
No
0012601: Is not possible to delete a window tab using postgresql
Is not possible to delete a window tab using postgresql.
It works properly on oracle.
-Create a new window, with a tab and field.
-Try to delete the tab, you can not because there are elments associated.
-If you delete the fields you can not still delete the tab
because the mapping and the class are not delete on cascade on postgres.

-On oracle it works fine
No tags attached.
related to defect 00126932.50MP17 closed adrianromero Review on delete triggers 
Issue History
2010-03-09 10:00networkbNew Issue
2010-03-09 10:00networkbAssigned To => alostale
2010-03-12 13:09hgbotCheckin
2010-03-12 13:09hgbotNote Added: 0025291
2010-03-12 13:09hgbotStatusnew => resolved
2010-03-12 13:09hgbotResolutionopen => fixed
2010-03-12 13:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/391825256589129b1a7c03999fd5ca30cb54dede [^]
2010-03-15 12:23marvintmNote Added: 0025474
2010-03-15 12:23marvintmStatusresolved => closed
2010-03-15 12:23marvintmFixed in Version => 2.50MP14
2010-03-16 00:00anonymoussf_bug_id0 => 2970942
2010-03-16 08:41hudsonbotCheckin
2010-03-16 08:41hudsonbotNote Added: 0025511
2010-03-16 11:27adrianromeroRelationship addedrelated to 0012693

Notes
(0025291)
hgbot   
2010-03-12 13:09   
Repository: erp/devel/pi
Changeset: 391825256589129b1a7c03999fd5ca30cb54dede
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Mar 12 13:14:36 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/391825256589129b1a7c03999fd5ca30cb54dede [^]

fixed bug 12601: Is not possible to delete a window tab using postgresql

---
M src-db/database/model/tables/AD_MODEL_OBJECT.xml
M src-db/database/model/tables/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/model/triggers/AD_REFERENCE_TRG2.xml
M src-db/database/model/triggers/AD_TAB_TRG2.xml
---
(0025474)
marvintm   
2010-03-15 12:23   
Verified that it is possible now to delete a tab if it has fields (and that the fields are also deleted).
(0025511)
hudsonbot   
2010-03-16 08:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/391825256589 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3e52c5b52d67 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16713.obx [^]