Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045089Openbravo ERPB. User interfacepublic2020-09-18 10:052020-12-10 18:02
ngarcia 
cberner 
urgentmajoralways
closedfixed 
5
 
PR20Q4 
Core
No
0045089: White screen when navigating to Product window from Sales Order window some times
White screen when navigating to Product window from Sales Order window some times
In https://livebuilds.openbravo.com/erp_pi_pgsql: [^]

As group admin role:
   1. Open Product window
   2. Open any product and don't close this tab
   3. Go to Workspace tab
   4. Click in "Recent Documents" on the product recently opened
   5. Repeat steps 3 and 4, 7 times. The product tab should become innaccessible after the 7th try.

   The browser console shows:

ISC_Combined.js:254 Uncaught RangeError: Maximum call stack size exceeded
    at _2.isc_Canvas__setTabIndex [as $vk] (ISC_Combined.js:2320)
    at _2.isc_Canvas__shiftTabIndexForward [as $v3] (ISC_Combined.js:2337)
    ...
No tags attached.
related to defect 0045165 closed cberner Popups are inaccessible, behind a mask, after long usage without refreshing or logout/login 
Issue History
2020-09-18 10:05ngarciaNew Issue
2020-09-18 10:05ngarciaAssigned To => platform
2020-09-18 10:05ngarciaModules => Core
2020-09-18 10:05ngarciaResolution time => 1602194400
2020-09-18 10:05ngarciaTriggers an Emergency Pack => No
2020-09-18 10:06ngarciaIssue Monitored: networkb
2020-09-18 10:12PracticsIssue Monitored: Practics
2020-09-21 07:34alostaleStatusnew => scheduled
2020-09-21 07:34alostaleAssigned Toplatform => cberner
2020-09-21 09:07AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21717#r21717
2020-09-23 09:54hgbotNote Added: 0123309
2020-09-28 12:21cbernerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21756#r21756
2020-09-28 12:22hgbotNote Added: 0123422
2020-09-28 12:22hgbotResolutionopen => fixed
2020-09-28 12:22hgbotStatusscheduled => closed
2020-09-28 12:22hgbotFixed in Version => PR20Q4
2020-09-28 12:22hgbotNote Added: 0123423
2020-10-01 07:16alostaleRelationship addedrelated to 0045165
2020-12-10 18:02eugeniIssue Monitored: eugeni

Notes
(0123309)
hgbot   
2020-09-23 09:54   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/178 [^]
(0123422)
hgbot   
2020-09-28 12:22   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/178 [^]
(0123423)
hgbot   
2020-09-28 12:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: af7eafae80c903d6e3c457fd0f7143bb766daa9d
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-09-28T10:22:25+00:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/af7eafae80c903d6e3c457fd0f7143bb766daa9d [^]

Fixes ISSUE-45089: Remove leak by destroying previous loading pane always

A leak was happening when opening the same tab 2 or more times without
closing it. To fix this, the old pane should be destroyed when the window is
opened and replacing the old tab.

To achieve this, pane.isLoadingTab is used to check if the pane we are
switching to, is also loading and destroy the previous pane in this
case.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js
---