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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024960
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2013-10-17 01:562013-10-30 09:52
ReportercaristuView Statuspublic 
Assigned Toshankarb 
PriorityhighResolutionfixedFixed in Version3.0MP29
StatusclosedFix in branchFixed in SCM revisiondecd52611c97
ProjectionnoneETAnoneTarget Version3.0MP29
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024960: Field groups are not displayed under some circunstances

DescriptionIf 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 Reproduce1) 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.
TagsNo tags attached.
Attached Files? file icon org.openbravo.disappear-1.0.0.obx [^] (16,518 bytes) 2013-10-17 01:56

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
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 (reporter)
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 (manager)
2013-10-30 09:52

Code reviewed and verified in pi@2eb60e1f2b72

- 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 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
Powered by Mantis Bugtracker