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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051106
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2022-12-12 15:172022-12-19 15:53
ReporteraxelmercadoView Statuspublic 
Assigned ToTriage Platform Base 
PriorityimmediateResolutionfixedFixed in VersionPR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0051106: Unable to download some reports in "Excel Format" in Google Chrome browser for Chrome versions higher than 107

DescriptionWhen trying to download some manual reports 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 Filespng file icon Screenshot from 2022-12-12 16-44-28.png [^] (100,822 bytes) 2022-12-12 16:49


png file icon Screenshot from 2022-12-12 16-44-20.png [^] (312,112 bytes) 2022-12-12 16:49
png file icon Screenshot from 2022-12-12 16-50-35.png [^] (271,533 bytes) 2022-12-12 16:50
png file icon Screenshot from 2022-12-12 16-50-44.png [^] (64,602 bytes) 2022-12-12 16:51

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0051146PR22Q4.1 closedTriage Platform Base Unable to download any type of report in "Excel Format" in Google Chrome browser for Chrome versions higher than 107 
depends on backport 0051147PR22Q3.3 closedTriage Platform Base Unable to download any type of report in "Excel Format" in Google Chrome browser for Chrome versions higher than 107 
related to backport 00527473.0PR19Q3.3 closedTriage Platform Base Unable to download some reports in "Excel Format" in Google Chrome browser for Chrome versions higher than 107 

-  Notes
(0144545)
mtaal (manager)
2022-12-12 16:49

The error happens in very generic code. Reproducible on live builds, note the report/window name on live builds to try is: Sales Invoice Dimensional Report

The error happens in the javascript, the screenshots show where and what.
(0144576)
hgbot (developer)
2022-12-13 10:14

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

Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-51106: 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
---
(0144615)
hgbot (developer)
2022-12-14 08:13

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/786 [^]
(0144823)
cberner (developer)
2022-12-19 15:53
edited on: 2022-12-19 16:06

Issue was related with the following changes done in chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=1168591#c3 [^] and https://chromium-review.googlesource.com/c/chromium/src/+/3754790 [^]

This changes were done due to the following change in the html spec: https://github.com/whatwg/html/issues/4078 [^]

https://bugs.chromium.org/p/chromium/issues/detail?id=898942 [^]


- Issue History
Date Modified Username Field Change
2022-12-12 15:17 axelmercado New Issue
2022-12-12 15:17 axelmercado Assigned To => Triage Omni WMS
2022-12-12 15:59 axelmercado Steps to Reproduce Updated View Revisions
2022-12-12 16:49 mtaal Note Added: 0144545
2022-12-12 16:49 mtaal File Added: Screenshot from 2022-12-12 16-44-28.png
2022-12-12 16:49 mtaal File Added: Screenshot from 2022-12-12 16-44-20.png
2022-12-12 16:50 mtaal File Added: Screenshot from 2022-12-12 16-50-35.png
2022-12-12 16:51 mtaal File Added: Screenshot from 2022-12-12 16-50-44.png
2022-12-12 16:51 axelmercado Assigned To Triage Omni WMS => Triage Platform Base
2022-12-13 07:26 alostale Steps to Reproduce Updated View Revisions
2022-12-13 07:27 alostale Status new => acknowledged
2022-12-13 07:27 alostale Priority urgent => immediate
2022-12-13 07:28 alostale Project Modules => Openbravo ERP
2022-12-13 07:28 alostale Modules => Core
2022-12-13 07:28 alostale Triggers an Emergency Pack => No
2022-12-13 07:28 alostale Category Reporting => A. Platform
2022-12-13 10:14 hgbot Note Added: 0144576
2022-12-13 16:58 cberner Status acknowledged => scheduled
2022-12-14 07:31 alostale Summary Unable to download any type of report in "Excel Format" in Google Chrome browser for Chrome versions higher than 107 => Unable to download some reports in "Excel Format" in Google Chrome browser for Chrome versions higher than 107
2022-12-14 07:31 alostale Description Updated View Revisions
2022-12-14 08:13 hgbot Resolution open => fixed
2022-12-14 08:13 hgbot Status scheduled => closed
2022-12-14 08:13 hgbot Fixed in Version => PR23Q1
2022-12-14 08:13 hgbot Note Added: 0144614
2022-12-14 08:13 hgbot Note Added: 0144615
2022-12-19 15:53 cberner Note Added: 0144823
2022-12-19 16:06 cberner Note Edited: 0144823 View Revisions
2023-06-15 04:07 ivazquez Relationship added related to 0052747


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker