Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0011667 | Openbravo ERP | 00. Application dictionary | public | 2009-12-07 11:00 | 2010-01-22 12:36 | |||||||
Reporter | networkb | |||||||||||
Assigned To | alostale | |||||||||||
Priority | urgent | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 2.40MP11 | |||||||||||
Target Version | 2.40MP13 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0011667: It is not possible to add a default value for Dates parameter | |||||||||||
Description | When a date parameter is included in a Process (Application Dictionary > Report and Process > Parameter), and a default value is used diferent from @#Date@, a compilation error is shown. IE, this Default value is used: @SQL=SELECT (NOW()+90) FROM DUAL. And this is error is shown: [javac] /opt/Openbravo240mp11/r2.40mp11/srcAD/org/openbravo/erpCommon/ad_actionButton/ActionButton_Responser.java:1099: cannot find symbol [javac] symbol : variable Data [javac] location: class org.openbravo.erpCommon.ad_actionButton.ActionButton_Responser [javac] xmlDocument.setParameter("DateFrom", Data.selectActP800171_DateFrom(this)); [javac] ^ [javac] 1 error Note: other querys have been tested (using SQL) and same error appears. | |||||||||||
Steps To Reproduce | As System Administrator, go to Application Dictionary > Report and Process. Search Purchase Order Report Go to Parameter tab. Search Starting date. As default value, enter: @SQL= SELECT (NOW()+90) FROM DUAL Compile the application. (ant compile.development -Dtab=xx) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2009-12-07 19:25 | psarobe | Type | defect => backport | |||||||||
2009-12-07 19:25 | psarobe | fix_in_branch | => 2.40 | |||||||||
2009-12-09 08:47 | rafaroda | Priority | immediate => urgent | |||||||||
2009-12-10 11:36 | rafaroda | Assigned To | rafaroda => alostale | |||||||||
2010-01-13 15:51 | hgbot | Checkin | ||||||||||
2010-01-13 15:51 | hgbot | Note Added: 0023395 | ||||||||||
2010-01-13 15:51 | hgbot | Status | scheduled => resolved | |||||||||
2010-01-13 15:51 | hgbot | Resolution | open => fixed | |||||||||
2010-01-13 15:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.40/rev/b96c00ad4f93e5bc74b6066e5df3010f15ea71f4 [^] | |||||||||
2010-01-14 12:25 | networkb | Note Added: 0023419 | ||||||||||
2010-01-22 12:36 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|