Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011229Openbravo ERP00. Application dictionarypublic2009-11-03 12:432009-11-19 00:00
networkb 
alostale 
highminoralways
closedfixed 
5
2.50MP8 
2.50MP102.50MP9 
Core
No
0011229: Error when object type in naming exceptions is a view
If you try to define a naming exception for a view in your module you get
"ERROR: Names must start with its module's DB prefix "

1. Application Dictionary || Module || Module : set core module as In development
2. Application Dictionary || Module || Module: create new record with
name=ejemplo
java package=org.openbravo.ejemplo
verion=1.0.0
type=module
in development=yes
3. Application Dictionary || Module || Module >> Dependency : dependency of core
4. Application Dictionary || Module || Module >> Data Package : org.openbravo.ejemplo
5. Application Dictionary || Module || Module >> DB Prefix : ej
6. Application Dictionary || Module || Module >> Naming Exceptions:
DBObject type= view
name=C_Invoice_Day
7. Application Dictionary || Tables and Columns || Table : new record with
data package=org.openbravo.ejemplo
name= any name
db table name=C_Invoice_Day
view=yes
java class name=InvoiceDay
8. save and get the error: "ERROR: Names must start with its module's DB prefix"

NOTE: we tried the same with DBObject type= table in naming exceptions and it worked properly.
No tags attached.
Issue History
2009-11-03 12:43networkbNew Issue
2009-11-03 12:43networkbAssigned To => rafaroda
2009-11-04 09:04rafarodaAssigned Torafaroda => alostale
2009-11-04 09:04rafarodaPriorityimmediate => high
2009-11-04 09:04rafarodaStatusnew => scheduled
2009-11-17 11:55hgbotCheckin
2009-11-17 11:55hgbotNote Added: 0021915
2009-11-17 11:55hgbotStatusscheduled => resolved
2009-11-17 11:55hgbotResolutionopen => fixed
2009-11-17 11:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/38f176717e3081cdbf6e727558229aed203aff68 [^]
2009-11-18 10:43sureshbabuNote Added: 0021953
2009-11-18 10:43sureshbabuStatusresolved => closed
2009-11-18 10:43sureshbabuFixed in Version => 2.50MP9
2009-11-19 00:00anonymoussf_bug_id0 => 2900157

Notes
(0021915)
hgbot   
2009-11-17 11:55   
Repository: erp/devel/pi
Changeset: 38f176717e3081cdbf6e727558229aed203aff68
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Nov 17 11:55:35 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/38f176717e3081cdbf6e727558229aed203aff68 [^]

fixed bug 11229: Error when object type in naming exceptions is a view

---
M src-db/database/model/triggers/AD_TABLE_TRG.xml
---
(0021953)
sureshbabu   
2009-11-18 10:43   
Tested working fine