Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002740Openbravo ERPA. Platformpublic2008-03-25 15:532008-06-20 09:49
user71 
user71 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
No
Core
No
0002740: Change in the tab name recreates all the mappings
When the NAME or the ISACTIVE field in the table ad_tab is changed, the trigger DELETES and INSERTS all the mappings records in AD_MODEL_OBJECT and AD_MODEL_OBJECT_MAPPING.

The problem is that this generates new objects and mapping id's, but the object is the same.

The correct way to do this is to UPDATE this records with the new information.
No tags attached.
depends on backport 0003657 closed user71 Change in the tab name recreates all the mapping 
Issue History
2008-06-20 09:49psarobeStatusresolved => closed

Notes
(0006329)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1925255 [^]
(0003355)
user71   
2008-05-06 12:29   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1964080
Originator: YES

Fixed since revision 3008
Branch: trunk

- Change the trigger to update instead of add new