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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018415
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorhave not tried2011-09-02 08:152011-10-14 12:49
ReporterjecharriView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision7b2c15316242
ProjectionnoneETAnoneTarget Version2.50MP35
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP33SCM 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

0018415: 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 ]
blocks defect 00184143.0MP4 closedmarvintm Problems with WAD and default values in parameters for Bundle Process 

-  Notes
(0041570)
hgbot (developer)
2011-10-10 17:02

Repository: erp/stable/2.50
Changeset: 7b2c15316242cea0d946bc14d4e5ab9b83d01e56
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 10 17:01:29 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/7b2c15316242cea0d946bc14d4e5ab9b83d01e56 [^]

Fixed issue 18415. 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
---
(0041838)
xabiermerino (reporter)
2011-10-14 12:49

verified

- Issue History
Date Modified Username Field Change
2011-09-02 08:16 jecharri Type defect => backport
2011-09-02 08:16 jecharri fix_in_branch => 2.50
2011-09-02 08:16 jecharri Web browser Google Chrome => Google Chrome
2011-09-02 08:16 jecharri version pi => 2.50MP33
2011-09-02 08:16 jecharri Target Version 3.0MP4 => 2.50MP35
2011-09-02 09:15 jecharri Web browser Google Chrome => Google Chrome
2011-09-02 09:15 jecharri Steps to Reproduce Updated View Revisions
2011-10-04 17:41 jonalegriaesarte Assigned To alostale => marvintm
2011-10-10 13:13 egoitz Web browser Google Chrome => Google Chrome
2011-10-10 13:13 egoitz Priority urgent => high
2011-10-10 13:13 egoitz Severity major => minor
2011-10-10 17:02 hgbot Checkin
2011-10-10 17:02 hgbot Note Added: 0041570
2011-10-10 17:02 hgbot Status scheduled => resolved
2011-10-10 17:02 hgbot Resolution open => fixed
2011-10-10 17:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/7b2c15316242cea0d946bc14d4e5ab9b83d01e56 [^]
2011-10-14 12:49 xabiermerino Note Added: 0041838
2011-10-14 12:49 xabiermerino Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker