Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016887 | Openbravo ERP | 09. Financial management | public | 2011-04-26 01:38 | 2011-11-04 13:58 |
|
Reporter | pjuvara | |
Assigned To | alostale | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0RC6.1 | |
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 | 0016887: It is not possible to submit the Balance Sheet and P&L report twice |
Description | Once you enter the parameters for the Balance Sheet report and press the PDF button, the report is generated.
If you go back to the report submission form, modify one of the parameters and press PDF again, nothing happens.
Users are forced to refresh the form, which means loosing all the parameters that they just entered. |
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | soho |
Relationships | depends on | backport | 0016889 | | closed | alostale | It is not possible to submit the Balance Sheet and P&L report twice | has duplicate | defect | 0017049 | 3.0MP0 | closed | dalsasua | The Balance Sheet can be executed only once |
|
Attached Files | ChromeIssue.ogv (2,744,336) 2011-10-31 12:46 https://issues.openbravo.com/file_download.php?file_id=4692&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2011-04-26 01:38 | pjuvara | New Issue | |
2011-04-26 01:38 | pjuvara | Assigned To | => dalsasua |
2011-04-26 01:38 | pjuvara | Modules | => Core |
2011-04-26 01:38 | pjuvara | Tag Attached: soho | |
2011-04-26 09:45 | dalsasua | Note Added: 0036074 | |
2011-04-26 09:51 | dalsasua | Status | new => scheduled |
2011-04-26 09:51 | dalsasua | Note Added: 0036075 | |
2011-04-26 09:51 | dalsasua | fix_in_branch | => pi |
2011-04-26 11:23 | dalsasua | Assigned To | dalsasua => alostale |
2011-05-06 14:15 | adrianromero | Relationship added | has duplicate 0017049 |
2011-10-24 12:32 | alostale | Note Added: 0042058 | |
2011-10-24 12:35 | hgbot | Checkin | |
2011-10-24 12:35 | hgbot | Note Added: 0042059 | |
2011-10-24 12:35 | hgbot | Status | scheduled => resolved |
2011-10-24 12:35 | hgbot | Resolution | open => fixed |
2011-10-24 12:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e5af0079aa01a78c9a21b549db25fdc875afb354 [^] |
2011-10-31 12:46 | pjuvara | File Added: ChromeIssue.ogv | |
2011-10-31 12:48 | pjuvara | Note Added: 0042407 | |
2011-10-31 13:02 | alostale | Note Added: 0042410 | |
2011-10-31 13:02 | alostale | Status | resolved => new |
2011-10-31 13:02 | alostale | Resolution | fixed => open |
2011-10-31 13:25 | alostale | Note Added: 0042411 | |
2011-10-31 13:38 | hgbot | Checkin | |
2011-10-31 13:38 | hgbot | Note Added: 0042412 | |
2011-10-31 13:38 | hgbot | Status | new => resolved |
2011-10-31 13:38 | hgbot | Resolution | open => fixed |
2011-10-31 13:38 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/e5af0079aa01a78c9a21b549db25fdc875afb354 [^] => http://code.openbravo.com/erp/devel/pi/rev/620dc540f85a6161c784566c5fc68c579553e2c8 [^] |
2011-11-03 18:08 | iperdomo | Note Added: 0042508 | |
2011-11-03 18:08 | iperdomo | Status | resolved => closed |
2011-11-04 13:56 | hudsonbot | Checkin | |
2011-11-04 13:56 | hudsonbot | Note Added: 0042551 | |
2011-11-04 13:58 | hudsonbot | Checkin | |
2011-11-04 13:58 | hudsonbot | Note Added: 0042613 | |
Notes |
|
|
I've tried to reproduce, and in FF4 it works fine always, while in Chrome it just print the report the first click in the button... |
|
|
|
Same happens in 2.50 (always using Chrome browser) |
|
|
|
|
|
(0042059)
|
hgbot
|
2011-10-24 12:35
|
|
Repository: erp/devel/pi
Changeset: e5af0079aa01a78c9a21b549db25fdc875afb354
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Oct 24 12:34:40 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e5af0079aa01a78c9a21b549db25fdc875afb354 [^]
fixed bug 16887: It is not possible to submit the Balance Sheet and P&L report twice
Do not use _blank target to open the pdf file, this causes not to be possible to open it
several times in chrome and opens a new blank tab. Using a new hidden iframe so the pdf
file is directly downloaded without creating a new tab.
---
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.html
---
|
|
|
|
The issue does not seem to be fixed.
It works fine in Firefox (tab is not open, file downloads correctly and opens as many times as you want) but no file is generated in Chrome.
See attached video.
This happens in live builds as well based on PI (video taken from there). |
|
|
|
I'm able to reproduce the problem in Google Chrome 15.0.874.106 but not in Chromium 14.0.835.202 |
|
|
|
The problem can be workarounded in Chrome by openening about:plugins and disabling Chrome PDF Viewer.
The problem is when it is enabled (by default) it renders the pdf within the hidden frame instead of downloading it. |
|
|
(0042412)
|
hgbot
|
2011-10-31 13:38
|
|
Repository: erp/devel/pi
Changeset: 620dc540f85a6161c784566c5fc68c579553e2c8
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Oct 31 13:37:14 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/620dc540f85a6161c784566c5fc68c579553e2c8 [^]
fixed bug 16887: Fixed pdf download in Chrome with PDF viewer plugin enabled
File is forced as attachment
---
M src-core/src/org/openbravo/base/HttpBaseServlet.java
---
|
|
|
|
Tested in pi @ rev a5c64b5081f5 |
|
|
|
|
|
|
|