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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035517
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2017-03-14 20:402017-08-08 12:34
ReporterrbianchiniView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revision43c68e146180
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR16Q4.2SCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035517: Search filter not removed under some circumstances

DescriptionWhen you add a service to a product, and you need to use the search tab again, sometimes you have to remove manually the filter used to show the services associated to the product.
This happens at least from 16Q1
Steps To ReproduceLog in https://livebuilds.openbravo.com/retail_mp_3.0RR16Q4.2/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
- Select the product “Backpacks & Travel > Baby Carrier”
- After the Product has been included in the ticket, tap on the “services”-symbol
- Tap the service “Fit in the car”
- Tap BROWSE
- Select the product “Mountaineering > Thermal t-shirt”
- Note that the SEARCH window, which now should show the variants for the selected product, still has the filters corresponding to the last product and that you have to manually reset the filter for the variants to show up.
TagsNo tags attached.
Attached Filesdiff file icon fixes_issue_35517_hg_export.diff [^] (1,097 bytes) 2017-06-29 11:27 [Show Content]
diff file icon test_for_issue_35517_hg_export.diff [^] (14,938 bytes) 2017-06-30 12:00 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095021)
pcg_elopez (reporter)
2017-03-15 10:26

We were able to solve the issue by adding the following line to "toolbar-right.js":

[...]
tabPanel: 'catalog',
  i18nLabel: 'OBMOBC_LblBrowse',
  tap: function () {
    OB.UI.SearchProductCharacteristic.prototype.filtersCustomClear(); <-------
    if (!this.disabled) {
    [...]
(0098128)
hgbot (developer)
2017-07-19 11:42

Repository: tools/automation/pi-mobile
Changeset: 1598d38b2ff6b21269748f3a66dd6e0c72a1cbad
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Jun 30 11:59:28 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1598d38b2ff6b21269748f3a66dd6e0c72a1cbad [^]

Related to issue 35517: Search filter not removed under some circumstances

Added test cases for:

pack:
  product with service button -> product generic
  product with service button -> product with service button
  product with service button -> product with service mandatory proposal
  product generic -> product with service mandatory proposal
  product generic -> product with service button
  product generic -> product generic (NOT IMPLEMENTED)
  --- NOT done because there is no 2 generic products in sampledata nor in test sampledata
  product with service mandatory proposal -> product with service mandatory proposal
  product with service mandatory proposal -> product with service button
  product with service mandatory proposal -> product generic

ext-modules:
  complementary -> product with service mandatory proposal
  product with service mandatory proposal -> complementary
  complementary -> complementary

Note: tests implemented to work in remote and local, but since generic only works in local
these tests are skipped in remote

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/complementaryproducts/I35517_CustomSearchFilterNoReset_complementary.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/products/I35517_CustomSearchFilterNoReset.java
---
(0098129)
hgbot (developer)
2017-07-19 11:43

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 43c68e1461809625dff7670bb1dbb0dd39ecbbad
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Jun 27 19:27:03 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/43c68e1461809625dff7670bb1dbb0dd39ecbbad [^]

Fixes issue 35517: Search filter not removed under some circumstances

Ensure custom filters are cleared always before a new filter

Especifically fixed the generic case, since the rest were working fine
Note: that in remote generic is disabled

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-product-browser.js
---

- Issue History
Date Modified Username Field Change
2017-03-14 20:40 rbianchini New Issue
2017-03-14 20:40 rbianchini Assigned To => Retail
2017-03-14 20:40 rbianchini Triggers an Emergency Pack => No
2017-03-15 10:26 pcg_elopez Note Added: 0095021
2017-03-15 11:27 gorka_gil Assigned To Retail => gorka_gil
2017-03-15 11:28 egoitz Issue Monitored: egoitz
2017-03-30 12:55 gorka_gil Status new => scheduled
2017-06-29 11:27 gorka_gil File Added: fixes_issue_35517_hg_export.diff
2017-06-29 11:27 gorka_gil File Added: test_for_issue_35517_hg_export.diff
2017-06-30 12:00 gorka_gil File Deleted: test_for_issue_35517_hg_export.diff
2017-06-30 12:00 gorka_gil File Added: test_for_issue_35517_hg_export.diff
2017-07-19 11:42 hgbot Checkin
2017-07-19 11:42 hgbot Note Added: 0098128
2017-07-19 11:43 hgbot Checkin
2017-07-19 11:43 hgbot Note Added: 0098129
2017-07-19 11:43 hgbot Status scheduled => resolved
2017-07-19 11:43 hgbot Resolution open => fixed
2017-07-19 11:43 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/43c68e1461809625dff7670bb1dbb0dd39ecbbad [^]
2017-08-08 12:34 marvintm Review Assigned To => marvintm
2017-08-08 12:34 marvintm Status resolved => closed
2017-08-08 12:34 marvintm Fixed in Version => RR17Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker