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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2013-05-25 19:172013-05-28 23:56
ReporterrjapoovaView Statuspublic 
Assigned Toshankarb 
PrioritynormalResolutionfixedFixed in Version3.0MP24
StatusclosedFix in branchpiFixed in SCM revisiond8cc7de67a13
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023915: Java class name for a table cannot contain spaces

DescriptionWhen you define a table in AD you need to enter a name for the Java class that is automatically generated for it.
The field does not provide any validation.

If you enter a name that contains blanks and save it, when you perform the ant export.database task, the task fails.

The task continues to fail even after you correct the Java class as the generated file is never deleted and the only way to recover is to manually remove the file.
Steps To ReproduceCreate a table and assign a Java class with spaces
Execute ant database.export
Correct the class name
Execute ant database.export again
Proposed SolutionSince Openbravo support pattern based validation of fields, it is now possible to add a validation to the field not to allow spaces
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0058967)
hgbot (developer)
2013-05-27 15:48

Repository: erp/devel/pi
Changeset: d8cc7de67a13f33aeda7df418ca2f56021fd8d4a
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon May 27 19:16:03 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d8cc7de67a13f33aeda7df418ca2f56021fd8d4a [^]

Fixes Issue 0023915: Java class name for a table cannot contain spaces

Added business event handler to validate that java class name in tables cannot contain spaces.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TableEventHandler.java
---
(0058976)
AugustoMauch (manager)
2013-05-27 17:57

Code reviewed and verified in pi@8a750c29825c
(0059005)
hudsonbot (developer)
2013-05-28 23:56

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4ecad5b5150f [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-05-25 19:17 rjapoova New Issue
2013-05-25 19:17 rjapoova Assigned To => AugustoMauch
2013-05-25 19:17 rjapoova Modules => Core
2013-05-25 19:17 rjapoova Triggers an Emergency Pack => No
2013-05-27 07:35 shankarb Assigned To AugustoMauch => shankarb
2013-05-27 15:47 shankarb Review Assigned To => AugustoMauch
2013-05-27 15:47 shankarb Issue Monitored: AugustoMauch
2013-05-27 15:47 shankarb Status new => scheduled
2013-05-27 15:47 shankarb fix_in_branch => pi
2013-05-27 15:48 hgbot Checkin
2013-05-27 15:48 hgbot Note Added: 0058967
2013-05-27 15:48 hgbot Status scheduled => resolved
2013-05-27 15:48 hgbot Resolution open => fixed
2013-05-27 15:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d8cc7de67a13f33aeda7df418ca2f56021fd8d4a [^]
2013-05-27 17:57 AugustoMauch Note Added: 0058976
2013-05-27 17:57 AugustoMauch Status resolved => closed
2013-05-27 17:57 AugustoMauch Fixed in Version => 3.0MP24
2013-05-28 23:56 hudsonbot Checkin
2013-05-28 23:56 hudsonbot Note Added: 0059005


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker