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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018414
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-09-02 08:152011-10-12 01:59
ReporterjecharriView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version3.0MP4
StatusclosedFix in branchFixed in SCM revision556f30b43dbb
ProjectionnoneETAnoneTarget Version3.0MP4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018414: Problems with WAD and default values in parameters for Bundle Process

DescriptionExist a problem with WAD, when you put one default value to one parameter in a Bundle Process.

The default value must be a SQL sentence.
Steps To ReproduceAs System, go to Reports and Process.
Go to process "FIN_DeleteTransaction"
Now, after you have selected the process, go to tab Parameter.
In this tab, create a new parameter (it doesn't mind what you put in all fields apart from the default value) and put one SQL sentence like a default value. For example @SQL=select hola from c_invoice.
Now compile the Financial account window: ant compile -Dtab=Financial
It must be appear the next error:

compileSqlc:
    [javac] Compiling 302 source files to /home/openbravo/src/30POSTGRES/pi/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Compiling 25 source files to /home/openbravo/src/30POSTGRES/pi/build/classes
    [javac] /home/openbravo/src/30POSTGRES/pi/srcAD/org/openbravo/erpCommon/ad_actionButton/ActionButtonJava_Responser.java:633: cannot find symbol
    [javac] symbol : variable ActionButtonSQLDefaultData
    [javac] location: class org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser
    [javac] xmlDocument.setParameter("c_invoice_id", ActionButtonSQLDefaultData.selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(this));
    [javac] ^
    [javac] /home/openbravo/src/30POSTGRES/pi/srcAD/org/openbravo/erpWindows/FinancialAccount/TransactionFF8080812F213146012F2135BC25000E.java:1084: cannot find symbol
    [javac] symbol : method selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(org.openbravo.erpWindows.FinancialAccount.TransactionFF8080812F213146012F2135BC25000E)
    [javac] location: class org.openbravo.erpWindows.FinancialAccount.TransactionFF8080812F213146012F2135BC25000EData
    [javac] xmlDocument.setParameter("c_invoice_id", TransactionFF8080812F213146012F2135BC25000EData.selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(this));
    [javac] ^
    [javac] 2 errors

The problem is that ActionButtonSQLDefaultData java class doesn't exist.
Like a note, I have to say that in the xsql OF THE WINDOW IN WHICH THE PROCESS IS CALLED have been created the query selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00184152.50MP35 closedmarvintm Problems with WAD and default values in parameters for Bundle Process 

-  Notes
(0041366)
hgbot (developer)
2011-09-29 11:07

Repository: erp/devel/pi
Changeset: 556f30b43dbbb2720621c102e0d89e780020541d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Sep 29 11:06:23 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/556f30b43dbbb2720621c102e0d89e780020541d [^]

Fixed issue 18414. Now the sqlc method will be generated even if the process doesn't have a menu entry.

---
M src-wad/src/org/openbravo/wad/ProcessRelation_data.xsql
---
(0041728)
hudsonbot (developer)
2011-10-12 01:59

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9bd2b5c2d982 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-09-02 08:15 jecharri New Issue
2011-09-02 08:15 jecharri Assigned To => alostale
2011-09-02 08:15 jecharri Web browser => Google Chrome
2011-09-02 08:15 jecharri Modules => Core
2011-09-02 08:15 jecharri Resolution time => 1318456800
2011-09-02 08:16 jecharri Status new => scheduled
2011-09-02 08:16 jecharri fix_in_branch => pi
2011-09-02 09:15 jecharri Web browser Google Chrome => Google Chrome
2011-09-02 09:15 jecharri fix_in_branch pi =>
2011-09-02 09:15 jecharri Steps to Reproduce Updated View Revisions
2011-09-28 17:53 iperdomo Assigned To alostale => marvintm
2011-09-29 11:07 hgbot Checkin
2011-09-29 11:07 hgbot Note Added: 0041366
2011-09-29 11:07 hgbot Status scheduled => resolved
2011-09-29 11:07 hgbot Resolution open => fixed
2011-09-29 11:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/556f30b43dbbb2720621c102e0d89e780020541d [^]
2011-10-05 08:49 alostale Status resolved => closed
2011-10-05 08:49 alostale Fixed in Version => 3.0MP4
2011-10-12 01:59 hudsonbot Checkin
2011-10-12 01:59 hudsonbot Note Added: 0041728


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker