Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0009623 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] A. Platform | major | always | 2009-06-25 08:45 | 2011-02-04 09:12 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | rmorley | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | pi | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0009623: Allow overwritting methods in xsql files wihtin modules | |||||||||||
Description | Currently it is not allowed to modify a sqlc method within a module. The effect of this is that for customizing a query it is necessary to modularize not only the xsql file but also the complete object that uses it. In some cases this is annoying and adds a big overhead to the module. For example if the customization consists just in showing a different value in a select for a report, it is necessary to move to the module the whole report. | |||||||||||
Proposed Solution | Allow overwriting a single method in modules. The way to do it would be: -The module can have in a special directory partial xsql definitions. -In compilation time sqlc determines if there is overwriting for each method, and in this case takes the method in the module instead of the one in core. -Note that this could break the API because it would be possible to overwrite non-public methods. Modules including this kind of customizations would be more fragile since they are dependent on non-public API, an error should be raised for these cases when building the generated classes. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2009-06-25 08:45 | alostale | New Issue | |
2009-06-25 08:45 | alostale | Assigned To | => rafaroda |
2009-07-06 08:10 | rafaroda | Assigned To | rafaroda => pjuvara |
2011-02-04 09:12 | jpabloae | Assigned To | pjuvara => rmorley |
Copyright © 2000 - 2009 MantisBT Group |