Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementminoralways2021-11-26 11:172022-01-11 15:34
Reporterwilliam_vermerschView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product Version3.0PR19Q1SCM revision 
Review Assigned To
Web browserMozilla Firefox
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0048166: Impossible to add multiple filter in Manage Variant screen (Characteristic Description filter)


It seems that in 19Q releases it is impossible to use the Characteristic Description filter fully.

In the ManageVariantDS class (readCrtieria method) :

if (criteria.has("_constructor")
          && "AdvancedCriteria".equals(criteria.getString("_constructor"))
          && criteria.has("criteria")) {
        JSONArray innerCriteriaArray = new JSONArray(criteria.getString("criteria"));
        criteria = innerCriteriaArray.getJSONObject(0);

There is only the first criteria taken into account (AdvancedCriteria).

The problem was reproducible in livebuild in 19Q release. (Not reproducible after 20Q release).

Steps To ReproduceGo into Product screen.
Create a Generic Product.
Add two characteristics (Color, Size), check off the variant atrribute (Variant = Yes).
Click on Manage Variants button.
Use a filter with Color : Black/White, Size: XL.

When fetching the result one of the two criteria is not used.
TagsNo tags attached.
Attached Filespng file icon manage_variant_filters.png [^] (208,947 bytes) 2021-11-26 11:17

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
mdubreux (reporter)
2021-12-03 10:38


Could you please provide us some visibility on this topic?
We need to know when this could be corrected.

Best regards,
william_vermersch (developer)
2022-01-11 15:33


Seems like the assignment was wrong.

Can you help us with this subject ?


- Issue History
Date Modified Username Field Change
2021-11-26 11:17 william_vermersch New Issue
2021-11-26 11:17 william_vermersch Assigned To => Triage Finance
2021-11-26 11:17 william_vermersch File Added: manage_variant_filters.png
2021-11-26 11:17 william_vermersch Web browser => Mozilla Firefox
2021-11-26 11:17 william_vermersch Modules => Core
2021-11-26 11:17 william_vermersch Triggers an Emergency Pack => No
2021-12-03 10:38 mdubreux Note Added: 0133500
2022-01-11 15:30 william_vermersch Note Added: 0134226
2022-01-11 15:33 william_vermersch Note Deleted: 0134226
2022-01-11 15:33 william_vermersch Note Added: 0134227
2022-01-11 15:34 william_vermersch Web browser Mozilla Firefox => Mozilla Firefox
2022-01-11 15:34 william_vermersch Assigned To Triage Finance => Retail

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker