Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023915 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | major | always | 2013-05-25 19:17 | 2013-05-28 23:56 | |||
Reporter | rjapoova | View Status | public | |||||
Assigned To | shankarb | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP24 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | d8cc7de67a13 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0023915: Java class name for a table cannot contain spaces | |||||||
Description | When 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 Reproduce | Create a table and assign a Java class with spaces Execute ant database.export Correct the class name Execute ant database.export again | |||||||
Proposed Solution | Since Openbravo support pattern based validation of fields, it is now possible to add a validation to the field not to allow spaces | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (administrator) 2013-05-27 17:57 |
Code reviewed and verified in pi@8a750c29825c |
(0059005) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |