Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031464
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminorhave not tried2015-10-26 14:532015-11-13 16:30
ReportermtaalView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision2ed55cd7801e
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031464: Address popup does an additional request when selecting an address

DescriptionWhen selecting an address (click on it) the address popup does an extra request when hiding the popup. See this part of the code in the components/bplocation.js

clearAction: function () {
    this.$.bpsLocationSearchfilterText.setValue('');
    this.doSearchAction({
      locName: this.$.bpsLocationSearchfilterText.getValue()
    });
    return true;
  },

which is called from here:
  executeOnHide: function () {
    this.$.body.$.listBpsLoc.$.bpsloclistitemprinter.$.theader.$.modalBpLocScrollableHeader.clearAction();
  },

Probably it is nicer/better to clear the search results in a different way instead of doing an extra request
Steps To Reproduce- Login into webpos
- click on address button in the ticket
- search for addresses
- click on one
- see that an additional request is done
Proposed SolutionPrevent the extra request and clear the result table directly
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031249RR16Q1 closedmigueldejuana Address popup does an additional request when selecting an address 
causes backport 0031508 closedRetail [RR15Q4] Uncaught exception is shown clicking in an address in "Assign customer address to receipt" Popup 

-  Notes
(0081817)
hgbot (developer)
2015-11-13 11:43

Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: e22a89d214b0d96ed412ef205c88787f04feaa02
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 28 09:31:36 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/e22a89d214b0d96ed412ef205c88787f04feaa02 [^]

Fixed issue 31464: Address popup does an additional request when selecting an address

It is not necessary to search onHide, just clean filter and later onShow will do the search

---
M web/org.openbravo.retail.posterminal/js/components/bplocation.js
---
(0081818)
hgbot (developer)
2015-11-13 11:43

Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 2ed55cd7801ea00c73fcbab6fcd4cf19fc85d2e2
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Nov 02 15:05:41 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/2ed55cd7801ea00c73fcbab6fcd4cf19fc85d2e2 [^]

Fixed issue 31464: Address popup does an additional request when selecting an address

Change label name
Remove unneeded forceInsert

---
M web/org.openbravo.retail.posterminal/js/components/bplocation.js
M web/org.openbravo.retail.posterminal/js/data/datacustomeraddrsave.js
---

- Issue History
Date Modified Username Field Change
2015-11-13 11:41 Orekaria Type defect => backport
2015-11-13 11:41 Orekaria Target Version RR16Q1 => RR15Q4
2015-11-13 11:43 hgbot Checkin
2015-11-13 11:43 hgbot Note Added: 0081817
2015-11-13 11:43 hgbot Status scheduled => resolved
2015-11-13 11:43 hgbot Resolution open => fixed
2015-11-13 11:43 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b40a1c825f77a453c373a1e16552abbd2f12fac1 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/e22a89d214b0d96ed412ef205c88787f04feaa02 [^]
2015-11-13 11:43 hgbot Checkin
2015-11-13 11:43 hgbot Note Added: 0081818
2015-11-13 11:43 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/e22a89d214b0d96ed412ef205c88787f04feaa02 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/2ed55cd7801ea00c73fcbab6fcd4cf19fc85d2e2 [^]
2015-11-13 16:30 marvintm Review Assigned To mtaal => marvintm
2015-11-13 16:30 marvintm Status resolved => closed
2015-11-13 16:30 marvintm Fixed in Version => RR15Q4
2015-11-16 16:43 lorenzofidalgo Relationship added causes 0031508


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker