Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037109Openbravo ERPA. Platformpublic2017-10-18 19:222018-01-03 12:38
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR18Q1 
alostale
Core
No
0037109: Parent form shown in blank when direct opening a record in a child tab having parent tab configured as "Default Edit Mode"
Having a tab configured as "Default Edit Mode", when direct opening a record on a child tab, the viewForm in the parent is not being loaded. This causes that it is shown in blank.
1) Open the [Client] window. The header and the "Information" tab of this window are both configured as "Default Edit Mode" in the AD.
2) Close it
3) On the "Recent Documents" section, click on the link that opens the "Information" subtab
4) Once the window is opened, collapse the child tab in order to see the header --> ERROR: it appears in blank (see attached image)
No tags attached.
related to defect 0037093 closed caristu Wrong behavior after opening a record directly in a tab configured as "Default Edit Mode" 
related to design defect 0024705 closed dbaz The windows takes long to be loaed when there are a lot of tabs and a lot of columns on the grid. 
png blankForm.png (85,881) 2017-10-18 19:22
https://issues.openbravo.com/file_download.php?file_id=11200&type=bug
png
Issue History
2017-10-18 19:22caristuNew Issue
2017-10-18 19:22caristuAssigned To => platform
2017-10-18 19:22caristuFile Added: blankForm.png
2017-10-18 19:22caristuModules => Core
2017-10-18 19:22caristuTriggers an Emergency Pack => No
2017-10-18 19:22caristuRelationship addedrelated to 0037093
2017-10-18 19:24caristuRelationship addedrelated to 0024705
2017-10-19 17:01caristuSummaryParent form shown in blank when direct opening a record in a child tab having both tabs configured as "Default Edit Mode" => Parent form shown in blank when direct opening a record in a child tab having parent tab configured as "Default Edit Mode"
2017-10-19 17:01caristuDescription Updatedbug_revision_view_page.php?rev_id=16151#r16151
2017-10-19 17:10hgbotCheckin
2017-10-19 17:10hgbotNote Added: 0099968
2017-10-19 17:10hgbotStatusnew => resolved
2017-10-19 17:10hgbotResolutionopen => fixed
2017-10-19 17:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/61c208f24417048f932d615a6a54a63420679653 [^]
2017-10-19 17:11caristuAssigned Toplatform => caristu
2017-10-19 17:11caristuReview Assigned To => alostale
2017-10-24 13:33alostaleNote Added: 0100026
2017-10-24 13:33alostaleStatusresolved => closed
2017-10-24 13:33alostaleFixed in Version => 3.0PR18Q1
2018-01-03 12:38hudsonbotCheckin
2018-01-03 12:38hudsonbotNote Added: 0101339

Notes
(0099968)
hgbot   
2017-10-19 17:10   
Repository: erp/devel/pi
Changeset: 61c208f24417048f932d615a6a54a63420679653
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Oct 19 16:51:23 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/61c208f24417048f932d615a6a54a63420679653 [^]

fixes bug 37109: Blank "Default Edit Mode" tab on direct child record opening

  Having a tab configured to be opened in edit mode by default, it was being shown in blank after direct opening a record present in one of its child tabs. The problem was that in such scenario the standard viewForm was not being loaded (prepared).

  To fix the problem when opening the child record, the parent tab is marked to force the opening of the parent record in form view once its data has arrived. Note that this is just done when the parent tab is configured to be opened in edit mode by default.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0100026)
alostale   
2017-10-24 13:33   
reviewed + tested
(0101339)
hudsonbot   
2018-01-03 12:38   
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/c81e0d3cbab5 [^]
Maturity status: Test