Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006099 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 00. Application dictionary | minor | always | 2008-11-20 11:44 | 2009-01-25 18:17 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 2.40MP2 | |||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 10505 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | Oracle | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.40 | 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 | 0006099: A report defined on the report and process as report does not work properly | |||||||
Description | A report defined on the report and process as report (checkbox) and on class tab selected the action=report does not work | |||||||
Steps To Reproduce | 1) Define a new report: In the header select the report checkbox 2) Define the class with report action in the combo. 3) Select this report to be printed using the printing button in the toolbar It is defined in the window where the tab is defined. 4) Compile the application 5) The report does not work. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0010450) rafaroda (viewer) 2008-11-20 15:28 |
How to make it fail: 1) Go to Sales Invoice window and print one invoice: OK 2) Execute in your database the SQL: update ad_model_object set action = 'R' where ad_model_object_id = 800793; (will change ad_model_object of Invoice printing from action process to action report) 3) Compile Sales Invoice window: ant compile.development -Dtab="Sales Invoice" -Dtr="no" 4) Go to Openbravo ERP again, to to Sales Invoice window and print one invoice: FAILS with error: HTTP Status 404 - /openbravo-branch-240/businessUtility/..RptC_Invoice.pdf type Status report message /openbravo-branch-240/businessUtility/..RptC_Invoice.pdf description The requested resource (/openbravo-branch-240/businessUtility/..RptC_Invoice.pdf) is not available. |
(0010464) svnbot (viewer) 2008-11-20 18:59 |
Repository: openbravo Revision: 10349 Author: gorkaion Date: 2008-11-20 18:59:32 +0100 (Thu, 20 Nov 2008) Fixed bug 6099. The reports associated to a window can have now an ad_model_object of type R or P. If the associated process doesn't have a model_object_mapping it uses the value of the process with a preceding '/' and with '.pdf' termination. --- U branches/r2.40/src-wad/src/org/openbravo/wad/Tabs_data.xsql U branches/r2.40/src-wad/src/org/openbravo/wad/Wad.java --- https://dev.openbravo.com/websvn/openbravo/?rev=10349&sc=1 [^] |
(0010599) svnbot (viewer) 2008-11-25 09:16 |
Repository: openbravo Revision: 10505 Author: villind Date: 2008-11-25 09:16:18 +0100 (Tue, 25 Nov 2008) Merged r10349. Fixed bug 6099. The reports associated to a window can have now an ad_model_object of type R or P. If the associated process doesn't have a model_object_mapping it uses the value of the process with a preceding '/' and with '.pdf' termination. --- _U branches/bonware/r2.40/ _U branches/bonware/r2.40/config/setup-tool/ _U branches/bonware/r2.40/eclipse.install.source.launch _U branches/bonware/r2.40/export.database.launch _U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java U branches/bonware/r2.40/src-wad/src/org/openbravo/wad/Tabs_data.xsql U branches/bonware/r2.40/src-wad/src/org/openbravo/wad/Wad.java _U branches/bonware/r2.40/update.database.launch --- https://dev.openbravo.com/websvn/openbravo/?rev=10505&sc=1 [^] |
(0012602) psarobe (viewer) 2009-01-25 18:17 |
After following these steps, it does not fail: How to make it fail: 1) Go to Sales Invoice window and print one invoice: OK 2) Execute in your database the SQL: update ad_model_object set action = 'R' where ad_model_object_id = 800793; (will change ad_model_object of Invoice printing from action process to action report) 3) Compile Sales Invoice window: ant compile.development -Dtab="Sales Invoice" -Dtr="no" 4) Go to Openbravo ERP again, to to Sales Invoice window and print one invoice: FAILS with error: HTTP Status 404 - /openbravo-branch-240/businessUtility/..RptC_Invoice.pdf |
![]() |
|||
Date Modified | Username | Field | Change |
2008-11-20 11:44 | networkb | New Issue | |
2008-11-20 11:44 | networkb | Assigned To | => jpabloae |
2008-11-20 11:46 | jpabloae | Project | Openbravo Deployment Options => Openbravo ERP |
2008-11-20 11:46 | rafaroda | OBNetwork customer | => No |
2008-11-20 11:46 | rafaroda | Category | SMB Network One => 00. Application dictionary |
2008-11-20 12:00 | networkb | OBNetwork customer | No => Yes |
2008-11-20 12:00 | networkb | Assigned To | jpabloae => rafaroda |
2008-11-20 12:00 | networkb | Priority | normal => immediate |
2008-11-20 12:00 | networkb | Proposed Solution updated | |
2008-11-20 12:10 | networkb | Proposed Solution updated | |
2008-11-20 12:59 | networkb | Summary | A report defined on the report and process can not be selected on the process combo on the tab definition => A report defined on the report and process as report does not work properly |
2008-11-20 12:59 | networkb | Description Updated | |
2008-11-20 12:59 | networkb | Proposed Solution updated | |
2008-11-20 15:28 | rafaroda | Note Added: 0010450 | |
2008-11-20 15:28 | rafaroda | Assigned To | rafaroda => gorkaion |
2008-11-20 15:28 | rafaroda | Status | new => scheduled |
2008-11-20 15:28 | rafaroda | Type | defect => backport |
2008-11-20 15:28 | rafaroda | fix_in_branch | => 2.40 |
2008-11-20 15:29 | rafaroda | Relationship added | related to 0005488 |
2008-11-20 18:59 | svnbot | Checkin | |
2008-11-20 18:59 | svnbot | Note Added: 0010464 | |
2008-11-20 18:59 | svnbot | Status | scheduled => resolved |
2008-11-20 18:59 | svnbot | Resolution | open => fixed |
2008-11-20 18:59 | svnbot | svn_revision | => 10349 |
2008-11-25 09:16 | svnbot | Checkin | |
2008-11-25 09:16 | svnbot | Note Added: 0010599 | |
2008-11-25 09:16 | svnbot | svn_revision | 10349 => 10505 |
2009-01-25 18:17 | psarobe | Regression testing | => No |
2009-01-25 18:17 | psarobe | Status | resolved => closed |
2009-01-25 18:17 | psarobe | Note Added: 0012602 |
Copyright © 2000 - 2009 MantisBT Group |