|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Openbravo ERP] B. User interface||major||always||2013-08-25 00:44||2015-02-04 20:33|
|Priority||immediate||Resolution||fixed||Fixed in Version||3.0PR15Q2|
|Status||closed||Fix in branch||Fixed in SCM revision||675fc7b4fbac|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To||alostale|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0024577: "Direct link url which contains explicit criteria" does not work in case of "implicit filter" or "default view" on the window
|Description||This is follow up to 23333, which is mostly fixed, thanks!|
The remaining defect is that in the case of an implicit filter defined on the window (for examples Sales Orers), a "direct link url which contains explicit criteria" still does not work. The same is true if a default view exists.
From the user perspective, a "direct link url which contains EXPLICIT criteria" must always override an "implicit filter" or "default view". Otherwise, sharing is not consistent--I email the same link to 2 people and it works for the first guy, but not the second guy (who happens to have a default view defined). This is clearly not the intended behavior, and is a bug.
|Steps To Reproduce||For example, I want to share with someone a link to "All Sales Orders for Sleep Well Hotels, Co.". So I do this:|
1. Access Sales Orders
2. Notice there is an implicit filter, so click funnel icon to clear it
3. Filter to Sleep Well Hotels, Co.
4. Click the Direct Link button and copy the link which is
5. Close the Sales Order Tab
6. Paste above link in Quicklaunch. Alternatively, paste the URL in the browser URL bar.
7. Expect to see Sales Orders for Sleep Well Hotels, Co. Instead, the implicit filter has again been applied and my filter criterion is ignored.
Follow similiar steps on Product Window (no implicit filter), just define a default view. Notice that the default view is used instead of the explicit filter criteria on the url, when you paste the URL in QuickLaunch. However, note that it does work correctly in this case if you paste the URL in the browser URL bar!
|Proposed Solution||When a url is parsed and is found to contain explicit filter criteria, that filter criteria must always override any explicit filter or default view. In this case, if a default view exists for the user, the Standard View should simply be used instead.|
|Tags||No tags attached.|
|Attached Files||issue24577.export [^] (3,393 bytes) 2014-12-29 18:42|
|A fix has been attached to the issue. It will not be pushed to pi until it is open for changesets targeting PR15Q2.|
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Dec 29 18:34:58 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/675fc7b4fbac501edbdf942b6700a153e98d1582 [^]
Fixes issue 24577: Direct link works properly in grids with implicit filters
When a view was open by pasting a URL link (either in the address bar or in the quick view), the implicit filter of the header grid was always applied, even if the filters had been clea
red before obtaining the link.
This has been fixed by storing in the URL info about the grid filter clause state when the link is obtained. Then, when opening a view from that link, if there were no filter clauses wh
en the link was obtained, the grid will be initialized without them.
In all cases applying link both in URL and quick launch.
1.1 Open Sales Order window
1.2 With implicit filter get link
-> implicit filter remains when link is opened
2.1 Open Sales Order window
2.2 Filter BP Alimentos y Supermercados (keeping implicit filter) and get link
-> implicit filter remains when link is opened and BP is properly filtered
3.1 Open Sales Order window
3.2 Clear implicit filter and get link
-> no filter is applied when link is opened
4.1 Open Sales Order window
4.2 Clear implicit filter
4.3 Filter BP Alimentos y Supermercados (keeping implicit filter) and get link
-> no implicit filter is applied and BP is correctly filtered when link is opened
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/f36c91d0ad63 [^]
Maturity status: Test
|2013-08-25 00:44||johnfandl||New Issue|
|2013-08-25 00:44||johnfandl||Assigned To||=> dbaz|
|2013-08-25 00:44||johnfandl||Modules||=> Core|
|2013-08-25 00:44||johnfandl||Triggers an Emergency Pack||=> No|
|2013-08-25 05:07||dbaz||Assigned To||dbaz => AugustoMauch|
|2013-08-26 07:24||shankarb||Assigned To||AugustoMauch => shankarb|
|2013-08-26 07:25||shankarb||Relationship added||related to 0023333|
|2014-09-03 08:14||shankarb||Assigned To||shankarb => AugustoMauch|
|2014-12-29 12:49||jonalegriaesarte||Priority||normal => immediate|
|2014-12-29 13:01||AugustoMauch||Relationship added||related to 0027303|
|2014-12-29 13:01||AugustoMauch||Relationship added||related to 0028471|
|2014-12-29 17:15||AugustoMauch||Relationship added||related to 0028499|
|2014-12-29 18:42||AugustoMauch||File Added: issue24577.export|
|2014-12-29 18:42||AugustoMauch||Note Added: 0072860|
|2014-12-29 18:42||AugustoMauch||Status||new => scheduled|
|2014-12-29 18:42||AugustoMauch||fix_in_branch||=> pi|
|2015-01-05 13:38||AugustoMauch||Issue Monitored: alostale|
|2015-01-05 13:39||AugustoMauch||Review Assigned To||=> alostale|
|2015-01-05 13:39||AugustoMauch||fix_in_branch||pi =>|
|2015-01-05 16:03||hgbot||Note Added: 0073309|
|2015-01-05 16:03||hgbot||Status||scheduled => resolved|
|2015-01-05 16:03||hgbot||Resolution||open => fixed|
|2015-01-05 16:03||hgbot||Fixed in SCM revision||=> http://code.openbravo.com/erp/devel/pi/rev/675fc7b4fbac501edbdf942b6700a153e98d1582 [^]|
|2015-01-08 11:45||alostale||Note Added: 0073350|
|2015-01-08 11:45||alostale||Status||resolved => closed|
|2015-01-08 11:45||alostale||Fixed in Version||=> 3.0PR15Q2|
|2015-02-04 20:33||hudsonbot||Note Added: 0074108|
|Copyright © 2000 - 2009 MantisBT Group|