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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010868
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-10-05 18:552009-10-14 00:00
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version2.50MP7
StatusclosedFix in branchpiFixed in SCM revision1f0e6a228a2b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010868: WAD generated one unused xsql method for nearly all generated windows

DescriptionThe generated xsql files for generated windows contain (among others) this two methods:

- select
- selectEdit

The select method is not used in nearly all windows. Additionally the code in the not-used parts is not always valid sql code.

The method should not be generatd if it is not used.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0010869 closedshuehner WAD generated one unused xsql method for nearly all generated windows 

-  Notes
(0020718)
shuehner (administrator)
2009-10-05 18:55

Nice side-effect of changing this, is the removal of about 5MB of unused generated code.
(0020723)
hgbot (developer)
2009-10-05 19:03

Repository: erp/devel/pi
Changeset: 1f0e6a228a2b000fc7a5d99012f76d15c5f27c09
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Oct 05 19:02:50 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1f0e6a228a2b000fc7a5d99012f76d15c5f27c09 [^]

Fixed 10868: Only generate select method if it is needed in a window.
- Reorder selectEdit (used always) to be before select (used very seldom)
- Only generate select method if needed

---
M src-wad/src/org/openbravo/wad/Wad.java
M src-wad/src/org/openbravo/wad/datasource.xsqlxml
---
(0020963)
arunkumar (reporter)
2009-10-13 10:07

Tested the files in PI Oracle - src-wad/src/org/openbravo/wad/Wad.java
src-wad/src/org/openbravo/wad/datasource.xsqlxml. The commits are reflected in the files.The issue is fixed.

- Issue History
Date Modified Username Field Change
2009-10-05 18:55 shuehner New Issue
2009-10-05 18:55 shuehner Assigned To => shuehner
2009-10-05 18:55 shuehner Status new => scheduled
2009-10-05 18:55 shuehner fix_in_branch => pi
2009-10-05 18:55 shuehner Note Added: 0020718
2009-10-05 19:03 hgbot Checkin
2009-10-05 19:03 hgbot Note Added: 0020723
2009-10-05 19:03 hgbot Status scheduled => resolved
2009-10-05 19:03 hgbot Resolution open => fixed
2009-10-05 19:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1f0e6a228a2b000fc7a5d99012f76d15c5f27c09 [^]
2009-10-13 10:07 arunkumar Status resolved => closed
2009-10-13 10:07 arunkumar Note Added: 0020963
2009-10-13 10:07 arunkumar Fixed in Version => 2.50MP7
2009-10-14 00:00 anonymous sf_bug_id 0 => 2878314


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker