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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007025
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2009-01-20 12:242009-11-24 12:44
ReporternetworkbView Statuspublic 
Assigned Toiperdomo 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision12735
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007025: Parameter and "loading" Windows do not close when runing a process

DescriptionWhen 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 Reproduce1. 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)
TagsNo tags attached.
Attached Fileszip file icon images.zip [^] (225,072 bytes) 2009-01-20 12:24

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0007300 closediperdomo Parameter and "loading" Windows do not close when runing a process 
has duplicate defect 0004051 closedrafaroda "Loading" widget do not close when browser settings do not open files by default 
related to defect 0007428 closedgorkaion Export to Excel/CSV/PDF breaks randomly depending on server configurations 
related to backport 0005593 closediperdomo Direct print option works only in specific configurations 
related to defect 0005558 closediperdomo Direct print option works only in specific configurations 
related to defect 00108242.50MP11 closediperdomo Loading pop-up window not closing when opening *.fo reports 

-  Notes
(0012858)
iperdomo (reporter)
2009-01-29 19:04

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 (reporter)
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 (reporter)
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 [^]
(0022137)
rafaroda (developer)
2009-11-24 12:44

Still failing for *.fo reports. See issue 0010824.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker