Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028985Openbravo ERPB. User interfacepublic2015-02-18 17:392015-02-23 05:11
VictorVillar 
AugustoMauch 
immediateminoralways
closedfixed 
5
pi 
3.0PR15Q1.23.0PR15Q2 
dbaz
Core
Production - Confirmed Stable
2014-12-24
3.0PR14Q3.4
https://code.openbravo.com/erp/devel/pi/rev/25794 [^]
No
0028985: It is not possible to freeze a column
It is not possible to freeze a column
As group admin role,
 Go to Purchase order window
  right click on one column. For instance: Organization.
  Click on 'Freeze Organization'
Realise that you can scroll to the right, and this column is not frozen (blocked)
No tags attached.
caused by defect 00283793.0PR15Q2 closed AugustoMauch Unexpected behavior after setting some fields from a process definition 
Issue History
2015-02-18 17:39VictorVillarNew Issue
2015-02-18 17:39VictorVillarAssigned To => dbaz
2015-02-18 17:39VictorVillarModules => Core
2015-02-18 17:39VictorVillarRegression level => Production - Confirmed Stable
2015-02-18 17:39VictorVillarTriggers an Emergency Pack => No
2015-02-18 17:43VictorVillarIssue Monitored: networkb
2015-02-18 18:15eugeniIssue Monitored: eugeni
2015-02-18 18:26dbazRegression date => 2014-12-24
2015-02-18 18:26dbazRegression introduced in release => 3.0PR14Q3.4
2015-02-18 18:26dbazRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/25794 [^]
2015-02-18 18:26dbazAssigned Todbaz => AugustoMauch
2015-02-19 09:51AugustoMauchNote Added: 0074640
2015-02-19 09:51AugustoMauchSeveritymajor => minor
2015-02-19 10:34AugustoMauchRelationship addedcaused by 0028379
2015-02-19 10:44AugustoMauchIssue Monitored: dbaz
2015-02-19 10:44AugustoMauchReview Assigned To => dbaz
2015-02-19 10:45hgbotCheckin
2015-02-19 10:45hgbotNote Added: 0074645
2015-02-19 10:45hgbotStatusnew => resolved
2015-02-19 10:45hgbotResolutionopen => fixed
2015-02-19 10:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/abc5697a0872e733ae8546a3ad2d6b23006ced37 [^]
2015-02-19 10:57AugustoMauchNote Added: 0074646
2015-02-19 10:58AugustoMauchNote Added: 0074647
2015-02-19 11:49dbazNote Added: 0074650
2015-02-19 11:49dbazStatusresolved => closed
2015-02-19 11:49dbazFixed in Version => 3.0PR15Q2
2015-02-23 05:11hudsonbotCheckin
2015-02-23 05:11hudsonbotNote Added: 0074788

Notes
(0074640)
AugustoMauch   
2015-02-19 09:51   
Changed to minor, as it fits best that criticity according to this document: http://wiki.openbravo.com/wiki/QA_Processes/Defects_Severity_Priority [^]
(0074645)
hgbot   
2015-02-19 10:45   
Repository: erp/devel/pi
Changeset: abc5697a0872e733ae8546a3ad2d6b23006ced37
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Feb 19 10:43:52 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/abc5697a0872e733ae8546a3ad2d6b23006ced37 [^]

Fixes issue 28985: Grid columns can be frozen

In this changeset [1], a function named fieldIsVisible was added to the OBViewGrid class, to control if a field was actually visible in the grid. The problem was that there was actually a function defined with that same name in the Smartclient's DataBoundComponent class, which is an OBViewGrid ancestor. This means that the fieldIsVisible function implemented in [1] is overwriting the original implementation, and this was not intended.

The fieldIsVisible function is invoked when a grid column is frozen, that is why the change made in [1] has created the current issue. To fix it, the name of OBViewGrid.fieldIsVisible function has been renamed to fieldIsVisibleInGrid. It has been checked that there is no function defined with that name in any OBViewGrid ancestor class.

[1] https://code.openbravo.com/erp/devel/pi/rev/25794 [^]

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0074646)
AugustoMauch   
2015-02-19 10:57   
A test has been created in testlink: http://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-8044 [^]

To automate this test the test's infrastructure must be updated, as currently it is not possible to freeze fields [1] nor to move columns [2]

[1] http://smartclient.com/docs/8.3/a/b/c/go.html#method..ListGrid.freezeField [^]
[2] http://smartclient.com/docs/8.3/a/b/c/go.html#method..ListGrid.reorderField [^]
(0074647)
AugustoMauch   
2015-02-19 10:58   
Test plan:
- Test that both the current issue, and the issue that caused it [1] are not reproducible.

[1] https://issues.openbravo.com/view.php?id=28379 [^]
(0074650)
dbaz   
2015-02-19 11:49   
Reviewed @ changeset 25997 - abc5697a0872
(0074788)
hudsonbot   
2015-02-23 05:11   
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/6856352d7235 [^]
Maturity status: Test