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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053985
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] POSminorhave not tried2023-11-21 11:592023-11-22 09:52
ReporterjavierRodriguezView Statuspublic 
Assigned TojavierRodriguez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053985: If a filter which is configured to be prefilter is filled, the application is always calling the master data to take BPs

DescriptionIf prefilters have been evaluated but they don't return any value, CRM is calling the master data to take values.
Steps To ReproduceWith loyalty module and loyalty card filter configured.

- Go to select a bp
- Fill only loyalty card input. Use 88888 (it should not exist any)
- Click on search

KO, all bp has been returned.
Proposed SolutionIf prefilters are evaluated but there is not any value, return empty array and avoid searching them in database.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0054012 closedsreehari POS2 Incorrect behavior when searching a customer by Member ID / Card Number 
related to defect 0054229 closedguilleaer Retail Modules Incorrect search results while filtering by Member ID / Loyalty Card Number 

-  Notes
(0157413)
hgbot (developer)
2023-11-21 12:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/639 [^]
(0157414)
hgbot (developer)
2023-11-21 12:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2251 [^]
(0157455)
hgbot (developer)
2023-11-22 09:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2251 [^]
(0157456)
hgbot (developer)
2023-11-22 09:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8420c8e796df54d0c4a3fda8064c8ff91af90986
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 22-11-2023 08:52:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8420c8e796df54d0c4a3fda8064c8ff91af90986 [^]

Fixed ISSUE-53985: Do not search business partner if prefilters were evaluated without any result

---
M web-jspack/org.openbravo.pos2/src/services/crm/OBCRMUtils.js
M web-jspack/org.openbravo.pos2/src/services/crm/__test__/OBCRMUtils.test.js
---
(0157457)
hgbot (developer)
2023-11-22 09:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/639 [^]
(0157458)
hgbot (developer)
2023-11-22 09:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 27bfc43b039ad86b3218494afaac333273f1041a
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 21-11-2023 12:06:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/27bfc43b039ad86b3218494afaac333273f1041a [^]

Fixed ISSUE-53985: Include hasBeenEvaluated and hasPreFilterValues in obPreFilterGenerated filter

---
M web-test/integration/external-business-partner/ExternalBusinessPartnerAPI.test.js
M web/org.openbravo.mobile.core/app/integration/external-business-partner/ExternalBusinessPartnerAPI.js
---

- Issue History
Date Modified Username Field Change
2023-11-21 11:59 javierRodriguez New Issue
2023-11-21 11:59 javierRodriguez Assigned To => javierRodriguez
2023-11-21 11:59 javierRodriguez Triggers an Emergency Pack => No
2023-11-21 12:12 hgbot Note Added: 0157413
2023-11-21 12:17 hgbot Note Added: 0157414
2023-11-22 09:52 hgbot Resolution open => fixed
2023-11-22 09:52 hgbot Status new => closed
2023-11-22 09:52 hgbot Note Added: 0157455
2023-11-22 09:52 hgbot Fixed in Version => 24Q1
2023-11-22 09:52 hgbot Note Added: 0157456
2023-11-22 09:52 hgbot Note Added: 0157457
2023-11-22 09:52 hgbot Fixed in Version 24Q1 => RR24Q1
2023-11-22 09:52 hgbot Note Added: 0157458
2023-12-11 11:20 guilleaer Relationship added has duplicate 0054012
2023-12-28 17:06 ucarrion Relationship added related to 0054229


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker