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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2022-10-06 11:162022-10-11 08:05
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionPR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050431: Non deterministic sorting in product characteristic fields for values with the same sequence number

DescriptionThe sorting of the product characteristic fields is not deterministic when the characteristic values have the same sequence number in the tree.
Steps To Reproduce1) Create a product characteristic field
2) Define two characteristic values for the characteristic field with the same sequence number in the tree
3) Go to the window that contains the field and sort by it. Note that the sorting of the values created in step 2) may not be deterministic as it may appear records with those characteristics mixed and not properly sorted
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049838 closedcaristu Relevant product characteristics property fields 
related to defect 0050459 closedgdagnesses Cannot filter P&E grids by a field in descending criteria 

-  Notes
(0141736)
hgbot (developer)
2022-10-06 13:38

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/727 [^]
(0141947)
hgbot (developer)
2022-10-11 08:05

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/727 [^]
(0141948)
hgbot (developer)
2022-10-11 08:05

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: f1ea98ee29d6a63a7209ef75382c3fc0116a0aec
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 11-10-2022 06:05:33
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f1ea98ee29d6a63a7209ef75382c3fc0116a0aec [^]

fixes BUG-50431: non deterministic sort of prod char fields

  Sort product characteristic fields in a deterministic way in case the
characteristic values has the same sequence number for their
corresponding tree nodes.

  Now we are using the name of the characteristic value as the second
sorting criteria when the sorting is done in the backend.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/materialmgmt/RelevantCharacteristicQueryHook.java
M src-test/src/org/openbravo/client/kernel/reference/materialmgmt/RelevantCharacteristicQueryHookTest.java
---

- Issue History
Date Modified Username Field Change
2022-10-06 11:16 caristu New Issue
2022-10-06 11:16 caristu Assigned To => caristu
2022-10-06 11:16 caristu Modules => Core
2022-10-06 11:16 caristu Triggers an Emergency Pack => No
2022-10-06 11:16 caristu Issue generated from 0050430
2022-10-06 11:16 caristu Relationship added related to 0049838
2022-10-06 13:38 hgbot Note Added: 0141736
2022-10-07 10:14 caristu Issue cloned 0050446
2022-10-10 08:49 caristu Relationship added related to 0050459
2022-10-11 08:05 hgbot Note Added: 0141947
2022-10-11 08:05 hgbot Resolution open => fixed
2022-10-11 08:05 hgbot Status new => closed
2022-10-11 08:05 hgbot Fixed in Version => PR23Q1
2022-10-11 08:05 hgbot Note Added: 0141948


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker