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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011752
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-12-11 18:452012-03-29 17:14
ReportershuehnerView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionduplicateFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
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

0011752: Default values of WAD generated windows do not work always.

DescriptionThe select statement used by wad to retrieve the list of column having a default value (FieldsData.selectDefaultValue) does not have an order by and is used two times per Tab.

The order of rows returned without order by is random (but in practice often the same)

If the database returns the rows with different order in two different wad-compilations it will works but the generated code is different which is ugly.

If the database returns the rows with different order inside one wad-compilation (can happen as wad calls the same select twice per tab) no compilation error will happen but the default values will be assigned randomly (i.e. line-number default value assigned into another field)
Steps To ReproduceNo always reproducible steps available
Proposed SolutionAdd order by to the select to garantee deterministic order.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0014235 closedshuehner Missing order by clause in Field_data.xsql selectDefaultValue method 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-12-11 18:45 shuehner New Issue
2009-12-11 18:45 shuehner Assigned To => rafaroda
2009-12-11 18:45 shuehner version pi => 2.40
2009-12-14 14:34 shuehner Relationship added related to 0011530
2009-12-14 22:05 shuehner Relationship deleted related to 0011530
2010-02-11 18:32 rafaroda Assigned To rafaroda => alostale
2010-02-15 12:53 alostale Status new => scheduled
2010-02-15 12:53 alostale fix_in_branch => pi
2012-03-29 17:14 shuehner Relationship added duplicate of 0014235
2012-03-29 17:14 shuehner Status scheduled => closed
2012-03-29 17:14 shuehner Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker