Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027169Openbravo ERPA. Platformpublic2014-07-23 18:302014-08-08 18:54
caristu 
shankarb 
highmajoralways
closedfixed 
5
pi 
3.0PR14Q43.0PR14Q4 
AugustoMauch
Core
No
0027169: Unexpected behavior in saved views that includes a filter
If we create a new record (in form view) in a parent record, having a saved view that contains a particular filtering criteria, then this record does not remain selected after being created and the following message (see attached) is displayed in the child record:

 "The parent record is an unsaved new record, save it to create child records."
As F&B International Group Admin Role do:
1) Go to the [Sales Invoice] window
2) Click on the funnel to clean the implicit filters
3) Filter the window using two different fields (for example Organization: F&B España - Región Norte, F&B US East Coast and Document Status: Completed). The result of the filtering must be a number of records greater than 100.
5) Save the view
6) Create a new record in the header
7) Notice that the message appears in the [Lines] tab
8) Close the form in the header. The record recently created is not selected.It is also necessary to clean the filters to see it.
No tags attached.
related to design defect 0027674 closed AugustoMauch Selected record is lost when the amount of records shown is high 
png Screenshot.png (95,646) 2014-07-23 18:38
https://issues.openbravo.com/file_download.php?file_id=7078&type=bug
png
Issue History
2014-07-23 18:30caristuNew Issue
2014-07-23 18:30caristuAssigned To => AugustoMauch
2014-07-23 18:30caristuModules => Core
2014-07-23 18:30caristuResolution time => 1408744800
2014-07-23 18:30caristuTriggers an Emergency Pack => No
2014-07-23 18:30caristuIssue Monitored: networkb
2014-07-23 18:38caristuFile Added: Screenshot.png
2014-07-23 18:38caristuFile Deleted: Screenshot.png
2014-07-23 18:38caristuFile Added: Screenshot.png
2014-07-23 18:39caristuDescription Updatedbug_revision_view_page.php?rev_id=6136#r6136
2014-07-23 18:40caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6138#r6138
2014-07-23 19:16caristuversion => pi
2014-08-04 12:28shankarbAssigned ToAugustoMauch => shankarb
2014-08-06 11:21shankarbReview Assigned To => AugustoMauch
2014-08-06 11:21shankarbIssue Monitored: AugustoMauch
2014-08-06 11:22hgbotCheckin
2014-08-06 11:22hgbotNote Added: 0069098
2014-08-06 11:22hgbotStatusnew => resolved
2014-08-06 11:22hgbotResolutionopen => fixed
2014-08-06 11:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/50df96fb2bfbc5062cca9e256e897844b33b2fb6 [^]
2014-08-06 15:06AugustoMauchNote Added: 0069102
2014-08-06 15:06AugustoMauchStatusresolved => closed
2014-08-06 15:06AugustoMauchFixed in Version => 3.0PR14Q4
2014-08-08 18:54hudsonbotCheckin
2014-08-08 18:54hudsonbotNote Added: 0069268
2014-09-24 19:30caristuRelationship addedrelated to 0027674

Notes
(0069098)
hgbot   
2014-08-06 11:22   
Repository: erp/devel/pi
Changeset: 50df96fb2bfbc5062cca9e256e897844b33b2fb6
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Wed Aug 06 14:50:41 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/50df96fb2bfbc5062cca9e256e897844b33b2fb6 [^]

Fixes issue 27169: Unexpected behavior in saved views that includes a filter

Set the record index only if the record is not null.
If not incorrect index is set so the new record was getting lost in the grid creating the issue.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0069102)
AugustoMauch   
2014-08-06 15:06   
Code reviewed and verified in pi@50df96fb2bfb
(0069268)
hudsonbot   
2014-08-08 18:54   
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/4450016dee64 [^]
Maturity status: Test