Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044532 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2020-07-01 16:47 | 2020-07-15 12:29 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
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 | 0044532: preference: "Use contains in Receipt search" does not work | |||||||
Description | Configuring the preference "Use contains in Receipt search" to N, in Verified Returns selector request, the operator used is "contains". | |||||||
Steps To Reproduce | in BO: . configure the preference: "Use contains in Receipt search" to N in POS: . do login . in Menu, click verified return and search a document number . open Chrome Developers Tools -> Network tab the PaidReceiptsFilter request is wrong. The remote filter, operator is "contains" and it should "startsWith" see attachment | |||||||
Proposed Solution | The preference should be checked in this code: startsWithFilter = _.filter(whereClause.remoteFilters, function( filter ) { return filter.operator === OB.Dal.STARTSWITH; }); if (startsWithFilter.length > 0) { _.each(startsWithFilter, function(fil) { fil.operator = OB.Dal.CONTAINS; }); } | |||||||
Tags | No tags attached. | |||||||
Attached Files | request.png [^] (85,291 bytes) 2020-07-01 16:47
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0121449) hgbot (developer) 2020-07-14 18:13 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/33 [^] |
(0121450) hgbot (developer) 2020-07-14 18:13 |
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/15 [^] |
(0121467) hgbot (developer) 2020-07-15 12:27 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 41b373214b8cf6be9ba3b0e0ecdbc62ce0eff20e Author: Ranjith S R <ranjith@qualiantech.com> Date: 2020-07-13T18:14:52+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/41b373214b8cf6be9ba3b0e0ecdbc62ce0eff20e [^] Fixed issue-44532: Pref. Use Contains should be validated for remote models * In Remote Search, remote filters should be updated with valus of Preg. Use Contains --- M web/org.openbravo.mobile.core/source/data/ob-dal.js --- |
(0121468) hgbot (developer) 2020-07-15 12:27 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/33 [^] |
(0121469) hgbot (developer) 2020-07-15 12:29 |
Repository: https://gitlab.com/openbravo/ci/mobile-test [^] Changeset: 7bd688e9cc4ba7a8cc8a3fc9020b3ce963d7e4c0 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2020-07-13T18:39:31+05:30 URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/7bd688e9cc4ba7a8cc8a3fc9020b3ce963d7e4c0 [^] Verifies issue-44532: Modified Filter Product Tests * Modified Filter Product tests to use of Pref. Use Constains on Search --- M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria/I34532_FilterStockProdCharAndName.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria/I34532_FilterWithCombinationsAndPatternContain.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria/I34966_StockCriteriaFilter.java --- |
(0121470) hgbot (developer) 2020-07-15 12:29 |
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/15 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2020-07-01 16:47 | malsasua | New Issue | |
2020-07-01 16:47 | malsasua | Assigned To | => Retail |
2020-07-01 16:47 | malsasua | File Added: request.png | |
2020-07-01 16:47 | malsasua | Resolution time | => 1595368800 |
2020-07-01 16:47 | malsasua | Triggers an Emergency Pack | => No |
2020-07-07 16:08 | ngarcia | Issue Monitored: Leyre | |
2020-07-10 06:33 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2020-07-13 08:18 | ranjith_qualiantech_com | Status | new => scheduled |
2020-07-14 18:13 | hgbot | Note Added: 0121449 | |
2020-07-14 18:13 | hgbot | Note Added: 0121450 | |
2020-07-15 12:27 | hgbot | Resolution | open => fixed |
2020-07-15 12:27 | hgbot | Status | scheduled => closed |
2020-07-15 12:27 | hgbot | Note Added: 0121467 | |
2020-07-15 12:27 | hgbot | Note Added: 0121468 | |
2020-07-15 12:29 | hgbot | Note Added: 0121469 | |
2020-07-15 12:29 | hgbot | Note Added: 0121470 |
Copyright © 2000 - 2009 MantisBT Group |