Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024960 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | minor | always | 2013-10-17 01:56 | 2013-10-30 09:52 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | shankarb | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP29 | |||
Status | closed | Fix in branch | Fixed in SCM revision | decd52611c97 | ||||
Projection | none | ETA | none | Target Version | 3.0MP29 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0061880) hgbot (developer) 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 --- |
(0061895) hudsonbot (viewer) 2013-10-24 20:04 |
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/d0465c5073ba [^] Maturity status: Test |
(0061932) shankarb (viewer) 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 |
(0061959) AugustoMauch (administrator) 2013-10-30 09:52 |
Code reviewed and verified in pi@2eb60e1f2b72 |
![]() |
|||
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |