Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011229
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2009-11-03 12:432009-11-19 00:00
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version2.50MP9
StatusclosedFix in branchFixed in SCM revision38f176717e30
ProjectionnoneETAnoneTarget Version2.50MP10
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP8SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011229: Error when object type in naming exceptions is a view

DescriptionIf 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 "

Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0021915)
hgbot (developer)
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 (reporter)
2009-11-18 10:43

Tested working fine

- Issue History
Date Modified Username Field Change
2009-11-03 12:43 networkb New Issue
2009-11-03 12:43 networkb Assigned To => rafaroda
2009-11-04 09:04 rafaroda Assigned To rafaroda => alostale
2009-11-04 09:04 rafaroda Priority immediate => high
2009-11-04 09:04 rafaroda Status new => scheduled
2009-11-17 11:55 hgbot Checkin
2009-11-17 11:55 hgbot Note Added: 0021915
2009-11-17 11:55 hgbot Status scheduled => resolved
2009-11-17 11:55 hgbot Resolution open => fixed
2009-11-17 11:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/38f176717e3081cdbf6e727558229aed203aff68 [^]
2009-11-18 10:43 sureshbabu Note Added: 0021953
2009-11-18 10:43 sureshbabu Status resolved => closed
2009-11-18 10:43 sureshbabu Fixed in Version => 2.50MP9
2009-11-19 00:00 anonymous sf_bug_id 0 => 2900157


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker