Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008478Openbravo ERPA. Platformpublic2009-04-07 09:552009-06-04 00:00
marvintm 
alostale 
normalmajorhave not tried
closedfixed 
5
pi 
2.50MP1 
Core
No
0008478: AD_Column trigger should take into account the AD_Exceptions table when checking for naming rules compliance
Trigger AD_Column_trg2 checks if column names comply with modularity naming rules when a row in table AD_Column is added or modified. The problem is that it doesn't take into account the AD_Exceptions table.

This means that when a database has been updated from an earlier version of Openbravo, you will get an error message every time you try to modify a column, because customized columns don't comply with naming rules, and although the upgrade process adds them to the ad_exceptions table, the trigger doesn't check that.
Modify the trigger so that it takes into account not only the naming of the column but also if it has been added as a naming exception or not.
Modularity
Issue History
2009-04-07 09:55marvintmNew Issue
2009-04-07 09:55marvintmAssigned To => rafaroda
2009-04-07 09:55marvintmRegression testing => No
2009-04-22 17:33psarobeAssigned Torafaroda => alostale
2009-04-22 17:33psarobeStatusnew => scheduled
2009-04-23 12:28alostaleTag Attached: Modularity
2009-04-24 16:53rafarodaversion => pi
2009-04-29 13:14hgbotCheckin
2009-04-29 13:14hgbotNote Added: 0015917
2009-04-29 13:14hgbotStatusscheduled => resolved
2009-04-29 13:14hgbotResolutionopen => fixed
2009-04-29 13:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bcb4997e10a9e7b19e34eb7958781c5fdc43d46f [^]
2009-06-03 17:47psarobeStatusresolved => closed
2009-06-04 00:00anonymoussf_bug_id0 => 2800768

Notes
(0015917)
hgbot   
2009-04-29 13:14   
Repository: erp/devel/pi
Changeset: bcb4997e10a9e7b19e34eb7958781c5fdc43d46f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 29 13:14:03 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bcb4997e10a9e7b19e34eb7958781c5fdc43d46f [^]

fixed bug 0008478: AD_Column trigger should take into account the AD_Exceptions table when checking for naming rules compliance

---
M src-db/database/model/triggers/AD_COLUMN_TRG2.xml
---