Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027503Openbravo ERPB. User interfacepublic2014-08-29 09:292014-09-01 16:26
jonalegriaesarte 
AugustoMauch 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR14Q43.0PR14Q4 
alostale
Core
Production - Confirmed Stable
2014-07-02
3.0PR14Q2
https://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
No
0027503: Form view is not working fine when using views
Form view is not working fine when using views
As F&B Admin
- Open sales order window
- Remove all the filters
- Filter by business partner
- Save view
- Close the tab and open it again
- Select the saved view
- Open it in form view. See in the attachment that the grouping sections are broken
No tags attached.
caused by 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 section.png (119,994) 2014-08-29 09:29
https://issues.openbravo.com/file_download.php?file_id=7175&type=bug
png
Issue History
2014-08-29 09:29jonalegriaesarteNew Issue
2014-08-29 09:29jonalegriaesarteAssigned To => AugustoMauch
2014-08-29 09:29jonalegriaesarteFile Added: section.png
2014-08-29 09:29jonalegriaesarteModules => Core
2014-08-29 09:29jonalegriaesarteTriggers an Emergency Pack => No
2014-08-29 10:54AugustoMauchSummaryForm view is not working fine when using views with users different from Openbravo user => Form view is not working fine when using views
2014-08-29 10:54AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=6488#r6488
2014-08-29 10:54AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6490#r6490
2014-08-29 10:54AugustoMauchRelationship addedcaused by 0024705
2014-08-29 10:58AugustoMauchRegression level => Production - Confirmed Stable
2014-08-29 10:58AugustoMauchRegression date => 2014-07-02
2014-08-29 10:58AugustoMauchRegression introduced in release => 3.0PR14Q2
2014-08-29 10:58AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
2014-08-29 12:08AugustoMauchIssue Monitored: alostale
2014-08-29 12:10AugustoMauchReview Assigned To => alostale
2014-08-29 12:30hgbotCheckin
2014-08-29 12:30hgbotNote Added: 0069852
2014-08-29 12:30hgbotStatusnew => resolved
2014-08-29 12:30hgbotResolutionopen => fixed
2014-08-29 12:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/057434bc0a7e03d64fc961ae3ce1066cc9922ca0 [^]
2014-09-01 13:45alostaleNote Added: 0069888
2014-09-01 13:45alostaleStatusresolved => closed
2014-09-01 13:45alostaleFixed in Version => 3.0PR14Q4
2014-09-01 16:26hudsonbotCheckin
2014-09-01 16:26hudsonbotNote Added: 0069893

Notes
(0069852)
hgbot   
2014-08-29 12:30   
Repository: erp/devel/pi
Changeset: 057434bc0a7e03d64fc961ae3ce1066cc9922ca0
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Aug 29 12:20:42 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/057434bc0a7e03d64fc961ae3ce1066cc9922ca0 [^]

Fixes issue 27503: Form view is not working fine when using views

The problem was that the OB.Personalization.updatePersonalizationDataFromFields functions, used in the process of storing the view, was not perfectly adapted to store forms that have not been initialized yet. The fields have not been created yet, so instead of a formitem only the main properties are available. This means that:
- isc.isA.SectionItem does not work, because it requieres a Class object. To fix this, the field type (already available) is also checked.
- Some attributes of the fields (rowSpan, colSpan and newRow) have not been initialized yet and unless its value is other than the default, they are undefined. To fix this they are given its default values (1, 1, false) when the view is stored.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization.js
---
(0069888)
alostale   
2014-09-01 13:45   
Code reviewed + verified checking form at different tab levels.
(0069893)
hudsonbot   
2014-09-01 16:26   
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/5b8d152f7606 [^]
Maturity status: Test