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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057170
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2024-10-30 14:442024-12-04 09:28
ReportersofidossantView Statuspublic 
Assigned Tofofarril 
PriorityhighResolutionfixedFixed in Version24Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version24Q3.2SCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerGold
Support ticket112501
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057170: Error when there are more than 300 Sales Representative Users

DescriptionWhen we have for example 350 representative users, we cannot search correctly for certain users, because it does not find them by the limit.
Steps To Reproduce1 - Create 350 Sales Representative Users in backoffice.
2 - Search for a user but with names beginning with the last letters of the alphabet.

You can't find the user, but if you check it is loaded in the cache
Proposed SolutionCode harcode with 300
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/release/24Q3/web/org.openbravo.mobile.core/app/model/persistence/indexeddb/Criteria.js?ref_type=heads&blame=1 [^]

commit https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0d54d001c0ca49dfcde55c545030363974e9b694 [^]

(function CriteriaDefinition() {
  const DEFAULT_QUERY_LIMIT = 300;
  /**
   * Allows to create a criteria for searching objects using the IndexedDBController API.
   */
  OB.App.Class.Criteria = class Criteria {
    constructor() {
      this.theLimit = DEFAULT_QUERY_LIMIT;
      this.theOperator = 'and';
      this.order = { properties: [], directions: [] };
      this.properties = [];
      this.selectProperties = [];
    }

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0056938 closedfofarril Error when there are more than 300 Sales Representative Users 

-  Notes
(0172238)
hgbot (developer)
2024-11-19 16:27

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3114 [^]
(0172318)
hgbot (developer)
2024-11-20 11:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3114 [^]
(0172319)
hgbot (developer)
2024-11-20 11:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5789cf9f70cc14eda9c25cb1147cb62d430c0f2c
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 20-11-2024 10:00:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5789cf9f70cc14eda9c25cb1147cb62d430c0f2c [^]

Fixes ISSUE-57170: Error when there are more than 300 Sales Representative Users.

---
M web-jspack/org.openbravo.pos2/src/components/SalesRepSelector/SalesRepSelector.jsx
M web-jspack/org.openbravo.pos2/src/components/SalesRepSelector/SalesRepSelector.scss
M web-jspack/org.openbravo.pos2/src/components/SalesRepSelector/SalesRepSelectorDataSource.js
M web-jspack/org.openbravo.pos2/src/components/SalesRepSelector/SalesRepSelectorDialog/__test__/SalesRepSelectorDialog.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SalesRepSelector/__test__/SalesRepSelector.test.jsx
---
(0172620)
hgbot (developer)
2024-11-26 15:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1666 [^]
(0172955)
hgbot (developer)
2024-12-04 09:28

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: c27f4a8ec129001568de62f5bb12b4bb81c55f9b
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 04-12-2024 08:19:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/c27f4a8ec129001568de62f5bb12b4bb81c55f9b [^]

Related to ISSUE-57170: ReadOnly Selector in BaseFormSelector not always set

---
M web-jspack/org.openbravo.core2/src/components/BaseFormSelector/BaseFormSelector.jsx
---
(0172956)
hgbot (developer)
2024-12-04 09:28

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1666 [^]

- Issue History
Date Modified Username Field Change
2024-11-19 09:44 jorgewederago Type defect => backport
2024-11-19 09:44 jorgewederago Target Version => 24Q4
2024-11-19 16:27 hgbot Note Added: 0172238
2024-11-20 11:00 hgbot Merge Request Status open => approved
2024-11-20 11:00 hgbot Resolution open => fixed
2024-11-20 11:00 hgbot Status scheduled => closed
2024-11-20 11:00 hgbot Note Added: 0172318
2024-11-20 11:00 hgbot Fixed in Version => 24Q4
2024-11-20 11:00 hgbot Note Added: 0172319
2024-11-26 15:06 hgbot Note Added: 0172620
2024-12-04 09:28 hgbot Note Added: 0172955
2024-12-04 09:28 hgbot Note Added: 0172956


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker