Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007025 | Openbravo ERP | 07. Sales management | public | 2009-01-20 12:24 | 2009-11-24 12:44 |
|
Reporter | networkb | |
Assigned To | iperdomo | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0007025: Parameter and "loading" Windows do not close when runing a process |
Description | When running a process, after introduce the parameters a loading window appears. Then you obtain the results properly but this 2 windows (parameters and loading) don't disappear. |
Steps To Reproduce | 1. Go to Sales Management | Analysis tools | Sales Report by Partner And Product
2. Choose PDF or Excel
3. The results will appear but pop-up window where you choose parameters and pop-up loading window continue open and don't disappear.
(Error can also be reproduce in other analysis tool's processes which allows you to choose the output,for example: Procure Management | Analysis tools | Purchase order report) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0007300 | | closed | iperdomo | Parameter and "loading" Windows do not close when runing a process | has duplicate | defect | 0004051 | | closed | rafaroda | "Loading" widget do not close when browser settings do not open files by default | related to | defect | 0007428 | | closed | gorkaion | Export to Excel/CSV/PDF breaks randomly depending on server configurations | related to | backport | 0005593 | | closed | iperdomo | Direct print option works only in specific configurations | related to | defect | 0005558 | | closed | iperdomo | Direct print option works only in specific configurations | related to | defect | 0010824 | 2.50MP11 | closed | iperdomo | Loading pop-up window not closing when opening *.fo reports |
|
Attached Files | images.zip (225,072) 2009-01-20 12:24 https://issues.openbravo.com/file_download.php?file_id=678&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2009-01-20 12:24 | networkb | New Issue | |
2009-01-20 12:24 | networkb | Assigned To | => rafaroda |
2009-01-20 12:24 | networkb | sf_bug_id | 0 => 2523390 |
2009-01-20 12:24 | networkb | File Added: images.zip | |
2009-01-20 12:24 | networkb | Regression testing | => No |
2009-01-21 14:20 | rafaroda | Relationship added | related to 0004051 |
2009-01-21 17:06 | rafaroda | Assigned To | rafaroda => dbaz |
2009-01-29 19:04 | iperdomo | Note Added: 0012858 | |
2009-01-30 08:47 | rafaroda | Relationship replaced | has duplicate 0004051 |
2009-01-30 08:47 | rafaroda | Status | new => acknowledged |
2009-01-30 22:20 | dbaz | Assigned To | dbaz => iperdomo |
2009-01-31 12:11 | iperdomo | Status | acknowledged => scheduled |
2009-01-31 12:11 | iperdomo | fix_in_branch | => trunk |
2009-02-02 16:13 | svnbot | Checkin | |
2009-02-02 16:13 | svnbot | Note Added: 0013024 | |
2009-02-02 16:13 | svnbot | Status | scheduled => resolved |
2009-02-02 16:13 | svnbot | Resolution | open => fixed |
2009-02-02 16:13 | svnbot | svn_revision | => 12670 |
2009-02-04 10:52 | svnbot | Checkin | |
2009-02-04 10:52 | svnbot | Note Added: 0013122 | |
2009-02-04 10:52 | svnbot | svn_revision | 12670 => 12735 |
2009-02-09 11:59 | villind | Relationship added | related to 0007428 |
2009-04-21 12:39 | psarobe | Status | resolved => closed |
2009-06-16 19:33 | dbaz | Relationship added | related to 0005593 |
2009-06-16 19:34 | dbaz | Relationship added | related to 0005558 |
2009-09-30 11:21 | rafaroda | Relationship added | related to 0010824 |
2009-11-24 12:44 | rafaroda | Note Added: 0022137 | |
Notes |
|
|
The strategy to solve this will be:
* Current situation:
- We make a request to the backend for a report
- The backend handles all the necessary steps to render the report. When the report is PDF a 'header' is added to the response (Content-disposition: attachment), this means that the browser will handle the response as an attachment, and will ask the user what do to: Open or save it
- Since we are replying as an attachment, the initial pop-up window remains open
* New approach:
- A request is made to the backend for a report
- The backend handles the request, and renders the report. Instead of replying the content of this report, we 'save' it temporarily
- The backend will reply a javacript function to close the pop-up window and also the id of the saved file
- The javascript function will make a request for the saved file (identified by id) and close the pop-window
- The backend will receive and handle the report file request and will reply as attachment |
|
|
(0013024)
|
svnbot
|
2009-02-02 16:13
|
|
Repository: openbravo
Revision: 12670
Author: iperdomo
Date: 2009-02-02 16:13:38 +0100 (Mon, 02 Feb 2009)
Fixes issue 7025: Now the reports are stored temporary in the server, the *loading* window closes and a request for the saved report is made
---
U trunk/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
A trunk/src/org/openbravo/base/secureApp/PopUp_Download.html
A trunk/src/org/openbravo/base/secureApp/PopUp_Download.xml
A trunk/src/org/openbravo/erpCommon/utility/DownloadReport.java
U trunk/src/org/openbravo/erpCommon/utility/ExportGrid.java
U trunk/src/org/openbravo/erpCommon/utility/GridBO.java
U trunk/src-db/database/sourcedata/AD_MODEL_OBJECT.xml
U trunk/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
---
https://dev.openbravo.com/websvn/openbravo/?rev=12670&sc=1 [^]
|
|
|
(0013122)
|
svnbot
|
2009-02-04 10:52
|
|
Repository: openbravo
Revision: 12735
Author: iperdomo
Date: 2009-02-04 10:52:09 +0100 (Wed, 04 Feb 2009)
Fixes issue 7025: Added mime-type header depending on the report type
---
U trunk/src/org/openbravo/erpCommon/utility/DownloadReport.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=12735&sc=1 [^]
|
|
|
|
Still failing for *.fo reports. See issue 0010824. |
|