Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020478Openbravo ERPA. Platformpublic2012-05-11 14:152022-02-01 08:09
RafaelCruz 
Triage Platform Base 
lowmajoralways
acknowledgedopen 
5
3.0MP10.1 
 
Core
No
0020478: Auxiliary Input in another Auxiliary Input breaks the build
If you declare an Auxiliary Input (#1) inside another Auxiliary Input (#2) for use in a @SQL expression, and then you set Auxiliary Input (#2) as default value for some column, then smartbuild creates broken java files for the tab that uses this table.

If you do this, and DO NOT rebuild, then, works properly.
1) Create Table #1.

2) Create Window #1, and Tab #1 for Table #1.

3) Create Auxiliary Input #1 for Tab #1 with a fixed value.

4) Create Auxiliary Input #2 for Tab #1 with a SQL Expression, and set Auxiliary Input #1 in the where clause of this SQL Expression.

5) Set Auxiliary Input #2 as default value for a column in Table #1.

6) Do not rebuild the system.

7) Test the Window #1, and repair that everything works properly.

8) Rebuild the system with smartbuild -Dlocal=yes.

9) Repair that build was broken at java files for Tab #1.
No tags attached.
Issue History
2012-05-11 14:15RafaelCruzNew Issue
2012-05-11 14:15RafaelCruzAssigned To => alostale
2012-05-11 14:15RafaelCruzModules => Core
2012-05-14 11:42alostaleSeveritycritical => major
2012-05-16 08:28alostaleTypedefect => design defect
2012-09-24 12:54AugustoMauchNote Added: 0052336
2012-09-24 12:54AugustoMauchPriorityurgent => low
2012-09-24 12:54AugustoMauchStatusnew => scheduled
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:33alostaleAssigned Toalostale => platform
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0052336)
AugustoMauch   
2012-09-24 12:54   
Effort: 5
Impact: low
Plan: long