Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0011667 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] 00. Application dictionary | minor | always | 2009-12-07 11:00 | 2010-01-22 12:36 | |||
| Reporter | networkb | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | b96c00ad4f93 | |||
| Projection | none | ETA | none | Target Version | 2.40MP13 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | 2.40MP11 | SCM revision | ||||||
| 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) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0023395) hgbot (developer) 2010-01-13 15:51 |
Repository: erp/stable/2.40 Changeset: b96c00ad4f93e5bc74b6066e5df3010f15ea71f4 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Jan 13 15:51:30 2010 +0100 URL: http://code.openbravo.com/erp/stable/2.40/rev/b96c00ad4f93e5bc74b6066e5df3010f15ea71f4 [^] fixed bug 11667: It is not possible to add a default value for Dates parameter --- M src-wad/src/org/openbravo/wad/ProcessRelation_data.xsql M src-wad/src/org/openbravo/wad/Wad.java M src-wad/src/org/openbravo/wad/WadActionButton.java A src-wad/src/org/openbravo/wad/ActionButtonDefault_data.xml A src-wad/src/org/openbravo/wad/ActionButtonDefault_data.xsqlxml --- |
|
(0023419) networkb (viewer) 2010-01-14 12:25 |
Tested and works properly |
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 |
| Copyright © 2000 - 2009 MantisBT Group |