Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024960 | Openbravo ERP | B. User interface | public | 2013-10-17 01:56 | 2013-10-30 09:52 |
|
Reporter | caristu | |
Assigned To | shankarb | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP29 | Fixed in Version | 3.0MP29 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 20689 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0024960: Field groups are not displayed under some circunstances |
Description | If we assign a display logic to a group of fields, and if this group has not enough space in the tab, it is shown but after a while it disappears again. Also some additional configuration in the tab is required. Attached is a module that contains a tab where this problem is always reproducible. |
Steps To Reproduce | 1) Install the attached module
2) Go to the [Disappear] tab in the Business Partner window
3) In the Business Partner field, select Hoteles Buenas Noches, S.A.
4) Notice that the field group blinks and disappear
5) Maximize the tab
6) Select the same business partner again. Now everything works fine. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | org.openbravo.disappear-1.0.0.obx (16,518) 2013-10-17 01:56 https://issues.openbravo.com/file_download.php?file_id=6452&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2013-10-17 01:56 | caristu | New Issue | |
2013-10-17 01:56 | caristu | Assigned To | => dbaz |
2013-10-17 01:56 | caristu | File Added: org.openbravo.disappear-1.0.0.obx | |
2013-10-17 01:56 | caristu | Modules | => Core |
2013-10-17 01:56 | caristu | OBNetwork customer | => Yes |
2013-10-17 01:56 | caristu | Support ticket | => 20689 |
2013-10-17 01:56 | caristu | Resolution time | => 1386025200 |
2013-10-17 01:56 | caristu | Triggers an Emergency Pack | => No |
2013-10-17 01:56 | caristu | Issue Monitored: networkb | |
2013-10-17 01:57 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=5116#r5116 |
2013-10-17 01:57 | dbaz | Assigned To | dbaz => AugustoMauch |
2013-10-17 08:41 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-10-24 10:06 | shankarb | Review Assigned To | => AugustoMauch |
2013-10-24 10:06 | shankarb | Issue Monitored: AugustoMauch | |
2013-10-24 10:14 | hgbot | Checkin | |
2013-10-24 10:14 | hgbot | Note Added: 0061880 | |
2013-10-24 10:14 | hgbot | Status | new => resolved |
2013-10-24 10:14 | hgbot | Resolution | open => fixed |
2013-10-24 10:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/decd52611c978f16fed7d91be1b9b1d4d4d2289e [^] |
2013-10-24 20:04 | hudsonbot | Checkin | |
2013-10-24 20:04 | hudsonbot | Note Added: 0061895 | |
2013-10-29 10:39 | shankarb | Note Added: 0061932 | |
2013-10-30 09:52 | AugustoMauch | Note Added: 0061959 | |
2013-10-30 09:52 | AugustoMauch | Status | resolved => closed |
2013-10-30 09:52 | AugustoMauch | Fixed in Version | => 3.0MP29 |
Notes |
|
(0061880)
|
hgbot
|
2013-10-24 10:14
|
|
Repository: erp/devel/pi
Changeset: decd52611c978f16fed7d91be1b9b1d4d4d2289e
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Oct 24 13:40:04 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/decd52611c978f16fed7d91be1b9b1d4d4d2289e [^]
Fixes Issue 0024960: Field groups are not displayed under some circumstances.
The focus item value is lost during form reflow in some particular scenarios.
Do overcome this, retrieved the lost focus item value and set it again after form redraw if they are not the same.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
|
|
|
|
|
|
(0061932)
|
shankarb
|
2013-10-29 10:39
|
|
The problem is inside the redraw method called in ob-view-form. The redraw parent call, calls the redraw method in Layout.js. But there the resizeMembers method is called to accomodate the new field groups to be displayed. Inside this method, again the redraw method is called. So it recurses again. This is where the value is lost. The exact place where value changes to null in the Super method in Class.js |
|
|
|
Code reviewed and verified in pi@2eb60e1f2b72 |
|