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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009623
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajoralways2009-06-25 08:452011-02-04 09:12
ReporteralostaleView Statuspublic 
Assigned Tormorley 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009623: Allow overwritting methods in xsql files wihtin modules

DescriptionCurrently 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 SolutionAllow 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker