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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051146
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajoralways2022-12-12 15:172022-12-14 08:14
ReporteraxelmercadoView Statuspublic 
Assigned ToTriage Platform Base 
PriorityimmediateResolutionfixedFixed in VersionPR22Q4.1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR22Q4.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051146: Unable to download any type of report in "Excel Format" in Google Chrome browser for Chrome versions higher than 107

DescriptionWhen trying to generate or download a new report of any type in "Excel Format" in the new versions of Chrome, the report will hang and will not work.
Steps To ReproduceCan be tested on livebuilds.

1. Login and open the window named "Sales Invoice Dimensional Report"
2. Set the following in the parameters:
a) From Date: 01-11-2022
b) To Date: 30-11-2022
c) Organization: Paseo de la Cruz AGS
d) Select Dimention option as "Documento"
e) Currency: MXN
3. Click on button named "Excel Format" to run the report. The report will be loaded or the screen will go black (error).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0051106 closedTriage Platform Base Unable to download some reports in "Excel Format" in Google Chrome browser for Chrome versions higher than 107 

-  Notes
(0144602)
hgbot (developer)
2022-12-13 17:01

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/788 [^]
(0144618)
hgbot (developer)
2022-12-14 08:14

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/788 [^]
(0144619)
hgbot (developer)
2022-12-14 08:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: df1914e8988b36e028eecf66d58437fbc85fd46e
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 13-12-2022 17:39:47
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/df1914e8988b36e028eecf66d58437fbc85fd46e [^]

Fixes ISSUE-51146: cannot download Excel report in Chrome

Excel is exported by opening a new tab/popup with a set target to
_blank.

This worked before chrome version 107, but it does not work anymore. The
main reason is that target=_blank implies that the new window will not
be able to access window.opener object(it will be null). To avoid this
problem, we set target=null when target is _blank, this allows us to
keep the old behaviour.

---
M src/org/openbravo/erpCommon/security/Login.html
M web/js/utils.js
---

- Issue History
Date Modified Username Field Change
2022-12-13 16:58 cberner Type defect => backport
2022-12-13 16:58 cberner Target Version => PR22Q4.1
2022-12-13 17:01 hgbot Note Added: 0144602
2022-12-14 08:14 hgbot Resolution open => fixed
2022-12-14 08:14 hgbot Status scheduled => closed
2022-12-14 08:14 hgbot Note Added: 0144618
2022-12-14 08:14 hgbot Fixed in Version => PR22Q4.1
2022-12-14 08:14 hgbot Note Added: 0144619


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker