Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008505Openbravo ERP00. Application dictionarypublic2009-04-08 12:432009-04-28 00:00
alostale 
alostale 
normalmajoralways
closedfixed 
5
 
2.50MP1 
Core
No
0008505: db prefixes allow uderscore char, and numeric first char
When defining a db prefix for a module, it is possible to use underscore character (_) within it.

This can cause confusion with other modules' db prefixes, so it shouldn't be allowed.

Additionally it should also be enforced the first character for dbprefixes is not a numeric one.
Create a module
Go to db prefix tab
Create a new one like M_A -> it is allowed but it shouldn't
Create a new one like 4S -> it is allowed but it shouldn't
main, Modularity
Issue History
2009-04-08 12:43alostaleNew Issue
2009-04-08 12:43alostaleAssigned To => alostale
2009-04-08 12:43alostaleRegression testing => No
2009-04-08 12:43alostaleTag Attached: Modularity
2009-04-16 12:44hgbotCheckin
2009-04-16 12:44hgbotNote Added: 0015383
2009-04-16 12:44hgbotStatusnew => resolved
2009-04-16 12:44hgbotResolutionopen => fixed
2009-04-16 12:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4a27fda7852f975bd9cad15a9f94268d6b4d6b28 [^]
2009-04-17 08:50hgbotCheckin
2009-04-17 08:50hgbotNote Added: 0015394
2009-04-17 08:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/4a27fda7852f975bd9cad15a9f94268d6b4d6b28 [^] => http://code.openbravo.com/erp/devel/pi/rev/890ab6e8ddb307eb33d3ba96e6c732d88fe30dce [^]
2009-04-22 11:23psarobeTag Attached: main
2009-04-27 11:53sureshbabuStatusresolved => closed
2009-04-27 11:53sureshbabuNote Added: 0015766
2009-04-27 11:53sureshbabuFixed in Version => main
2009-04-28 00:00anonymoussf_bug_id0 => 2782481

Notes
(0015383)
hgbot   
2009-04-16 12:44   
Repository: erp/devel/pi
Changeset: 4a27fda7852f975bd9cad15a9f94268d6b4d6b28
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 16 12:43:23 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4a27fda7852f975bd9cad15a9f94268d6b4d6b28 [^]

fixed bug 0008505: db prefixes allow uderscore char, and numeric first char

---
M src-db/database/model/triggers/AD_MODULE_DBPREFIX_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0015394)
hgbot   
2009-04-17 08:50   
Repository: erp/devel/pi
Changeset: 890ab6e8ddb307eb33d3ba96e6c732d88fe30dce
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 17 08:50:12 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/890ab6e8ddb307eb33d3ba96e6c732d88fe30dce [^]

test cases for issue 8505: check db prefixes

---
A src-test/org/openbravo/test/modularity/DBPrefixTest.java
---
(0015766)
sureshbabu   
2009-04-27 11:53   
Retested working fine