Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006918 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2009-01-15 16:01 | 2009-04-21 12:39 | |||
Reporter | iciordia | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 12678 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | any | |||
OS Version | any | Database version | any | Ant version | any | |||
Product Version | pi | SCM revision | 11643 | |||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
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 | 0006918: Name of "Package" tab is not clear enough | |||||||
Description | In the Module window there is a "Package" tab where packages for classes generated by DAL for each table are declared. | |||||||
Proposed Solution | Better names for this tab can be: -Table package -Data package -Data Service package Additionally, an explanation of what a Package is (including some examples) should be included in the help of that tab. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0012224) mtaal (viewer) 2009-01-15 16:33 |
Also add extra info to the help of the following columns of the ad_table table: - name - classname - ad_package_id Here is a copy from the email send to the development team: Related to this change, when adding a new table the following is relevant: - the AD_Table.name field is used as the tag name in xml when exporting and importing data for records in the table. The same xml/tag name is used when constructing Webservice messages. So it makes sense to choose a readable and understandable name here. - when defining a table as part of a module development then the AD_Table.name needs to be prefixed with one of the DBPrefixes defined for that module, the prefix is the DBPrefix plus the underscore character, for example: PREFIX_MyTable. - The same prefixing rule applies to the AD_Table.tablename (the physical table name in the database). - a AD_Table record has a mandatory relation to a package (the AD_Package). Choose a sensible package fitting to the functional area to which the table applies (so not the Core package). If no such package exist then create a new one. The relation to the module is maintained through the AD_Package, so an AD_Table has an AD_Package which belongs to a module. When developing for a module then first a package needs to be defined in AD_Package, linked to the module. Then the records in AD_Table (for that module) can be linked to that package. - the AD_Table.classname is used when generating a representation of the table in java (the entity or business object, see the src-gen directory). The classname is the simplename of the class (so without the package name). Often the AD_Table.name can be used here. The combination of classname and package needs to be unique. The above info will also be added to the developers guide. |
(0012311) psarobe (viewer) 2009-01-19 11:23 |
1. Login with system administration role 2. Go to Application dictionary->Module |
(0013031) svnbot (viewer) 2009-02-02 17:46 |
Repository: openbravo Revision: 12678 Author: mtaal Date: 2009-02-02 17:45:45 +0100 (Mon, 02 Feb 2009) Changed triggers to use error message numbers which fit to oracle also Fixes issue 6918 Name of "Package" tab is not clear enough Changed validation to work by module, added validation to check object name length Database validation can be done by module --- U trunk/referencedata/standard/Masterdata.xml U trunk/src/org/openbravo/service/system/DatabaseValidator.java U trunk/src/org/openbravo/service/system/ModuleValidator.java U trunk/src/org/openbravo/service/system/SystemValidationResult.java U trunk/src/org/openbravo/service/system/SystemValidationTask.java U trunk/src-db/database/model/triggers/AD_MODULE_TRANSLATION_TRG.xml U trunk/src-db/database/model/triggers/AD_MODULE_VERSION_TRG.xml U trunk/src-db/database/model/triggers/AD_PACKAGE_JP_TRG.xml U trunk/src-db/database/sourcedata/AD_COLUMN.xml U trunk/src-db/database/sourcedata/AD_DATASET_TABLE.xml U trunk/src-db/database/sourcedata/AD_ELEMENT.xml U trunk/src-db/database/sourcedata/AD_FIELD.xml U trunk/src-db/database/sourcedata/AD_MESSAGE.xml U trunk/src-db/database/sourcedata/AD_MODEL_OBJECT.xml U trunk/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml U trunk/src-db/database/sourcedata/AD_TABLE.xml --- https://dev.openbravo.com/websvn/openbravo/?rev=12678&sc=1 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2009-01-15 16:01 | iciordia | New Issue | |
2009-01-15 16:01 | iciordia | Assigned To | => mtaal |
2009-01-15 16:01 | iciordia | sf_bug_id | 0 => 2510112 |
2009-01-15 16:01 | iciordia | OBNetwork customer | => No |
2009-01-15 16:01 | iciordia | Regression testing | => No |
2009-01-15 16:33 | mtaal | Note Added: 0012224 | |
2009-01-19 11:23 | psarobe | Status | new => scheduled |
2009-01-19 11:23 | psarobe | Note Added: 0012311 | |
2009-01-19 11:23 | psarobe | fix_in_branch | => trunk |
2009-02-02 17:46 | svnbot | Checkin | |
2009-02-02 17:46 | svnbot | Note Added: 0013031 | |
2009-02-02 17:46 | svnbot | Status | scheduled => resolved |
2009-02-02 17:46 | svnbot | Resolution | open => fixed |
2009-02-02 17:46 | svnbot | svn_revision | => 12678 |
2009-04-21 12:39 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |