|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Retail Modules] Web POS||minor||always||2017-03-10 14:29||2017-06-21 17:42|
|Priority||normal||Resolution||open||Fixed in Version|
|Status||new||Fix in branch||Fixed in SCM revision||b6c9537cf708|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To||Sandrahuguet|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0035485: Doing login in a multiprice list terminal with remote configured, do a product query without filters that is not needed
|Description||When doing login in the web pos should not be needed to do any search of products, especially in remote mode that should not do any background query not needed to increase server load.|
Also after the fix of issue 35383, the empty query of products is not allowed in remote configurations, so this makes some selenium tests to fail.
|Steps To Reproduce||- Configure remote:|
- Login in a multiprice list terminal (for example: MPL1)
- In the developers tolls of chrome in network tab can be seen a request like this on login:
|Proposed Solution||On login, it is created a new ticket.|
If is a multiprice list terminal, this new trigger launch an event price list change.
This triggers a new search, and since is just after login is a search with empty values.
The proposed fix, is in the event of search, check if is remote and if so don't do the search. And do a clear of search, to ensure that don't remains old data.
Other approach could be to also don't do the search in local, but this would break the functionality in local since the empty search is allowed in local.
|Tags||No tags attached.|
Fixed in the issue https://issues.openbravo.com/view.php?id=35383 [^]
Now in the change price list event checks if we are in remote, and if so don't execute the search.
This is the diff of the change:
[ is a part of this commit https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b6c9537cf70812867b38097956f098104ad49293 [^] ]
The fix is not working for all cases:
-Enable all remote preferences
-Login in the webPOS using MPL1 terminal
-Search by "avalanche"
-Change the business partner to "Mara Palliot" , notice that the search is cleaned and in normal mode the search is done again
|2017-03-10 14:29||gorka_gil||New Issue|
|2017-03-10 14:29||gorka_gil||Assigned To||=> gorka_gil|
|2017-03-10 14:29||gorka_gil||Triggers an Emergency Pack||=> No|
|2017-03-10 14:30||gorka_gil||Relationship added||related to 0035383|
|2017-03-10 14:36||gorka_gil||Status||new => scheduled|
|2017-06-19 18:30||gorka_gil||Relationship added||related to 0036276|
|2017-06-19 18:30||gorka_gil||Relationship deleted||related to 0036276|
|2017-06-19 18:38||gorka_gil||Note Added: 0097491|
|2017-06-19 18:38||gorka_gil||Status||scheduled => resolved|
|2017-06-19 18:38||gorka_gil||Resolution||open => fixed|
|2017-06-19 18:38||gorka_gil||Fixed in SCM revision||=> https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b6c9537cf70812867b38097956f098104ad49293 [^]|
|2017-06-21 09:25||Sandrahuguet||Relationship added||has duplicate 0031561|
|2017-06-21 09:26||Sandrahuguet||Review Assigned To||=> Sandrahuguet|
|2017-06-21 17:37||Sandrahuguet||Relationship added||related to 0035945|
|2017-06-21 17:42||Sandrahuguet||Note Added: 0097561|
|2017-06-21 17:42||Sandrahuguet||Status||resolved => new|
|2017-06-21 17:42||Sandrahuguet||Resolution||fixed => open|
|Copyright © 2000 - 2009 MantisBT Group|