Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0024687 | Openbravo ERP | A. Platform | public | 2013-09-04 10:39 | 2013-11-19 19:07 | |||||||||||||||||||||
Reporter | alostale | |||||||||||||||||||||||||
Assigned To | dbaz | |||||||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0MP30 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | alostale | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0024687: Double DataSource request when there using a saved view | |||||||||||||||||||||||||
Description | Whenever a window's default view is a saved view, double request to DataSource is performed when the window is opened. | |||||||||||||||||||||||||
Steps To Reproduce | In a professional instance: -Open Sales Invoice window -Sort by Order Date column -Move Order Date column to the first position in grid -Remove all the columns in grid but Order Date and Document No. -Add "10000" (without the quotes) as the filter of the Document No. column -Save current view -Set saved view as default -Reopen Sales Invoice window -> Notice how 2 requests are done to Invoice DataSource -> Notice how the grid is opened in standard view and after that redrawn with saved view | |||||||||||||||||||||||||
Proposed Solution | The problem, similarly to described in issue 0024684, comes because initially standard view is opened and after that saved view is applied. Unlike grid configuration, saved views are not stored locally in client, they are requested to backed and applied in the callback. The solution might be to store locally if not the whole set of saved views which could be huge, at least which are the windows that have one applied by default. For these ones, don't do any request until saved view request callback. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2013-09-04 10:39 | alostale | New Issue | ||||||||||||||||||||||||
2013-09-04 10:39 | alostale | Assigned To | => AugustoMauch | |||||||||||||||||||||||
2013-09-04 10:39 | alostale | Modules | => Core | |||||||||||||||||||||||
2013-09-04 10:39 | alostale | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2013-09-04 10:39 | alostale | Relationship added | related to 0024684 | |||||||||||||||||||||||
2013-11-07 13:06 | dbaz | Assigned To | AugustoMauch => dbaz | |||||||||||||||||||||||
2013-11-07 13:07 | dbaz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=5187#r5187 | |||||||||||||||||||||||
2013-11-07 13:08 | dbaz | Note Added: 0062048 | ||||||||||||||||||||||||
2013-11-07 13:17 | dbaz | Note Added: 0062049 | ||||||||||||||||||||||||
2013-11-07 13:18 | dbaz | Review Assigned To | => alostale | |||||||||||||||||||||||
2013-11-07 13:18 | dbaz | Issue Monitored: alostale | ||||||||||||||||||||||||
2013-11-07 13:23 | hgbot | Checkin | ||||||||||||||||||||||||
2013-11-07 13:23 | hgbot | Note Added: 0062051 | ||||||||||||||||||||||||
2013-11-07 13:23 | hgbot | Status | new => resolved | |||||||||||||||||||||||
2013-11-07 13:23 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2013-11-07 13:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cd5e1a38c069995d64d183c4e4e6d41259f5bed9 [^] | |||||||||||||||||||||||
2013-11-15 07:48 | alostale | Note Added: 0062132 | ||||||||||||||||||||||||
2013-11-15 07:48 | alostale | Status | resolved => closed | |||||||||||||||||||||||
2013-11-15 07:48 | alostale | Fixed in Version | => 3.0MP30 | |||||||||||||||||||||||
2013-11-19 19:07 | hudsonbot | Checkin | ||||||||||||||||||||||||
2013-11-19 19:07 | hudsonbot | Note Added: 0062243 | ||||||||||||||||||||||||
2014-02-04 15:26 | alostale | Relationship added | related to 0025636 | |||||||||||||||||||||||
2014-11-21 13:54 | AugustoMauch | Relationship added | causes 0028242 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|