Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049944 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | minor | have not tried | 2022-08-04 11:08 | 2022-08-12 09:20 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | meriem_azaf | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 22Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049944: [ProductSearch] Removing a filter using Backspace does not completely removes the filter | |||||||
Description | When using a text for filtering, it works fine if I select the whole text and delete it, but if I delete the characters one by one the last one is shown after deleted | |||||||
Steps To Reproduce | 1. From the main pos window, go to the "Search" field to filter the keymap 2. Enter three characters "GPS" (case is not relevant) 3. Select all the text and delete it. As expected, the filter is cleared out and the keymap is not filtered anymore. 4. Enter again "GPS" 5. Use the Backspace key to remove the S, the P and finally the G. Notice that the G shows up after deleted and the filtering is not cleared out as the keymap only shows the products containing the letter G | |||||||
Tags | FASH | |||||||
Attached Files | ProductFiltering.jpg [^] (68,918 bytes) 2022-08-04 11:08
BackspaceAndClearDoNotWorkProperly.mp4 [^] (3,139,123 bytes) 2022-08-04 12:52 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0139899) lorenzofidalgo (developer) 2022-08-04 12:55 |
A similar behaviour can also be reproduced with the following Steps: 0-Login POS2 as vallblanca. 1-Inside the Product Search input field, write "bott". A filtering will be executed after 1 second. 2-Using the backspace, delete last character and just after that, click "X" button to clear all the input field content. DEFECT: The clear will be executed, but, after just a moment all the string except for 1 character will appear again. These two actions must be done quickly to be able to reproduce it (check attached file BackspaceAndClearDoNotWorkProperly.mp4). |
(0139995) hgbot (developer) 2022-08-09 09:41 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1132 [^] |
(0140082) hgbot (developer) 2022-08-12 09:20 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1132 [^] |
(0140083) hgbot (developer) 2022-08-12 09:20 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 9aa9f2c0deca35e96bab92e9386b012a029748aa Author: Meriem Azaf <meriem.azaf@openbravo.com> Date: 12-08-2022 09:20:15 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9aa9f2c0deca35e96bab92e9386b012a029748aa [^] Fixes ISSUE-49944: Removing a filter using Backspace does not completely removes the filter. When using a text for filtering, it works fine if I select the whole text and delete it, but if I delete the characters one by one the last one is shown after deleted. To fix this, we had add debounceHandleSearch.cancel() in the onFilterChange in SearchInput.jsx. --- M web-jspack/org.openbravo.pos2/src/components/ProductSearch/SearchInput/SearchInput.jsx M web-jspack/org.openbravo.pos2/src/components/ProductSearch/SearchInput/__test__/SearchInput.test.jsx --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-08-04 11:08 | plujan | New Issue | |
2022-08-04 11:08 | plujan | Assigned To | => Retail |
2022-08-04 11:08 | plujan | File Added: ProductFiltering.jpg | |
2022-08-04 11:08 | plujan | Triggers an Emergency Pack | => No |
2022-08-04 12:52 | lorenzofidalgo | File Added: BackspaceAndClearDoNotWorkProperly.mp4 | |
2022-08-04 12:55 | lorenzofidalgo | Note Added: 0139899 | |
2022-08-05 16:01 | rafaroda | Tag Attached: FASH | |
2022-08-05 16:03 | rafaroda | Relationship added | related to 0049958 |
2022-08-09 09:41 | hgbot | Note Added: 0139995 | |
2022-08-10 09:24 | AugustoMauch | Assigned To | Retail => meriem_azaf |
2022-08-10 09:24 | AugustoMauch | Status | new => scheduled |
2022-08-12 09:20 | hgbot | Resolution | open => fixed |
2022-08-12 09:20 | hgbot | Status | scheduled => closed |
2022-08-12 09:20 | hgbot | Note Added: 0140082 | |
2022-08-12 09:20 | hgbot | Fixed in Version | => 22Q4 |
2022-08-12 09:20 | hgbot | Note Added: 0140083 |
Copyright © 2000 - 2009 MantisBT Group |