Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040463Openbravo ERPA. Platformpublic2019-03-26 17:142019-06-17 13:03
normalmajorhave not tried
30Openbravo Appliance 14.04
0040463: UI broken when create a new row and before save clear the filter grid
UI broken when create a new row and before save clear the filter grid
As The White Valley Group Admin role:
- Go to Product Characteristic window
- Filter grid by 'ra' in Name column
- Insert new row name: test , press enter on the keyboard
- Clear the filter, clicking in the funnel icon

Notice that the UI is broken. All rows and grid row menu are not shown.
No tags attached.
related to defect 0022625 closed AugustoMauch In Purchase order, auto save functionality not working in grid view at header tab. 
related to defect 00250283.0MP30 closed shankarb Default value applied again after updating a numeric field with a trigger 
related to design defect 0041102 new platform Changes in newly created record can be lost if a DS call to filter the grid is triggered before saving the record 
png ui.png (45,038) 2019-03-26 17:14
Issue History
2019-03-26 17:14SandrahuguetNew Issue
2019-03-26 17:14SandrahuguetAssigned To => platform
2019-03-26 17:14SandrahuguetFile Added: ui.png
2019-03-26 17:14SandrahuguetModules => Core
2019-03-26 17:14SandrahuguetTriggers an Emergency Pack => No
2019-03-26 17:15SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18544#r18544
2019-05-29 18:02caristuRelationship addedrelated to 0022625
2019-05-30 08:42caristuAssigned Toplatform => caristu
2019-06-10 16:36caristuStatusnew => acknowledged
2019-06-11 13:18caristuRelationship addedrelated to 0025028
2019-06-11 17:26hgbotCheckin
2019-06-11 17:26hgbotNote Added: 0112583
2019-06-11 17:26hgbotStatusacknowledged => resolved
2019-06-11 17:26hgbotResolutionopen => fixed
2019-06-11 17:26hgbotFixed in SCM revision => [^]
2019-06-11 17:26caristuReview Assigned To => alostale
2019-06-12 13:00hudsonbotCheckin
2019-06-12 13:00hudsonbotNote Added: 0112632
2019-06-14 09:50alostaleNote Added: 0112782
2019-06-14 09:50alostaleStatusresolved => closed
2019-06-14 09:50alostaleFixed in Version => 3.0PR19Q3
2019-06-17 13:03caristuIssue cloned0041102
2019-06-17 13:03caristuRelationship addedrelated to 0041102

2019-06-11 17:26   
Repository: erp/devel/pi
Changeset: eb4807b14aa961cd2e7e94fb0788006b0b579f7a
Author: Carlos Aristu <carlos.aristu <at>>
Date: Tue Jun 11 17:05:05 2019 +0200
URL: [^]

fixes bug 40463: UI broken after creating a new row and filtering before saving

  Fixed the issue by saving the record properly before performing the filter. This logic was already implemented but the edited record was not being properly completed before saving. To fix this problem we force the closing of the inline editor before filtering. Note that something similar is done when editing a new record and without saving it, another record is clicked (See handleRecordSelection function of OBViewGrid).

  Together with this, an additional change has been applied to the "editComplete" function. In some cases it is necessary to force an update of the focus cell value (See[1]). When setting that value, we are now directly invoking "this.getRecord()" instead of using the value retrieved at the top of the function. This is done to prevent setting a wrong value if the record values change in the middle of the execution of the "editComplete" function.

  [1] [^]

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
2019-06-12 13:00   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test
2019-06-14 09:50   
tested + reviewed