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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016887
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-04-26 01:382011-11-04 13:58
ReporterpjuvaraView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision620dc540f85a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0RC6.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016887: It is not possible to submit the Balance Sheet and P&L report twice

DescriptionOnce 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.
Tagssoho
Attached Files? file icon ChromeIssue.ogv [^] (2,744,336 bytes) 2011-10-31 12:46

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0016889 closedalostale It is not possible to submit the Balance Sheet and P&L report twice 
has duplicate defect 00170493.0MP0 closeddalsasua The Balance Sheet can be executed only once 

-  Notes
(0036074)
dalsasua (reporter)
2011-04-26 09:45

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...
(0036075)
dalsasua (reporter)
2011-04-26 09:51

Same happens in 2.50 (always using Chrome browser)
(0042058)
alostale (manager)
2011-10-24 12:32

The problem seems to be caused by this chrome issue [1].

Solution is not to open the pdf in _blank target, benefits:
-It can be opened multiple times
-pdf is not opened in a blank new tab but directly downloaded

[1] https://code.google.com/p/chromium/issues/detail?id=16528 [^]
(0042059)
hgbot (developer)
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
---
(0042407)
pjuvara (reporter)
2011-10-31 12:48

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).
(0042410)
alostale (manager)
2011-10-31 13:02

I'm able to reproduce the problem in Google Chrome 15.0.874.106 but not in Chromium 14.0.835.202
(0042411)
alostale (manager)
2011-10-31 13:25

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 (developer)
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
---
(0042508)
iperdomo (reporter)
2011-11-03 18:08

Tested in pi @ rev a5c64b5081f5
(0042551)
hudsonbot (developer)
2011-11-04 13:56

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test
(0042613)
hudsonbot (developer)
2011-11-04 13:58

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker