Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033639 | Openbravo ERP | A. Platform | public | 2016-08-05 14:57 | 2016-08-24 02:57 |
|
Reporter | JONHM | |
Assigned To | NaroaIriarte | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 43132 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033639: Product Characteristics Subset are not filtered when "Updating Characteristics" |
Description | Having a product with a characteristic and a subset pointing to some of that characteristic's values, when pressing "Update Characteristics" button, it should filter only those pointed values, but it shows every value of that characteristic |
Steps To Reproduce | 1) Create a Product Characteristic (with Variant checkbox unchecked), add some values, and create a subset and subset values pointing to some of that values (discard some value)
2) Go to [Product] window and create a new product.
3) Check the "Is Generic" checkbox.
4) Go to "Characteristics" tab and add the characteristic and its subset. Uncheck the Variants flag.
3) Press button "Update Characteristics". It shows every value including the ones we discard on the subset. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-08-05 14:57 | JONHM | New Issue | |
2016-08-05 14:57 | JONHM | Assigned To | => platform |
2016-08-05 14:57 | JONHM | OBNetwork customer | => Yes |
2016-08-05 14:57 | JONHM | Modules | => Core |
2016-08-05 14:57 | JONHM | Support ticket | => 43132 |
2016-08-05 14:57 | JONHM | Resolution time | => 1473112800 |
2016-08-05 14:57 | JONHM | Triggers an Emergency Pack | => No |
2016-08-08 12:09 | jfrances | Issue Monitored: jfrances | |
2016-08-16 14:39 | NaroaIriarte | Assigned To | platform => NaroaIriarte |
2016-08-16 14:39 | NaroaIriarte | Status | new => acknowledged |
2016-08-16 14:54 | NaroaIriarte | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12836#r12836 |
2016-08-18 14:29 | NaroaIriarte | Review Assigned To | => AugustoMauch |
2016-08-23 09:41 | hgbot | Checkin | |
2016-08-23 09:41 | hgbot | Note Added: 0089294 | |
2016-08-23 09:41 | hgbot | Status | acknowledged => resolved |
2016-08-23 09:41 | hgbot | Resolution | open => fixed |
2016-08-23 09:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9bebb4948779a1789895902a39f75aeaf9002d97 [^] |
2016-08-23 14:26 | hudsonbot | Checkin | |
2016-08-23 14:26 | hudsonbot | Note Added: 0089300 | |
2016-08-23 15:28 | AugustoMauch | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12888#r12888 |
2016-08-23 16:23 | hgbot | Checkin | |
2016-08-23 16:23 | hgbot | Note Added: 0089311 | |
2016-08-23 16:32 | AugustoMauch | Note Added: 0089313 | |
2016-08-23 16:32 | AugustoMauch | Status | resolved => closed |
2016-08-23 16:32 | AugustoMauch | Fixed in Version | => 3.0PR16Q4 |
2016-08-24 02:57 | hudsonbot | Checkin | |
2016-08-24 02:57 | hudsonbot | Note Added: 0089324 | |
Notes |
|
(0089294)
|
hgbot
|
2016-08-23 09:41
|
|
Repository: erp/devel/pi
Changeset: 9bebb4948779a1789895902a39f75aeaf9002d97
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Thu Aug 18 10:58:26 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9bebb4948779a1789895902a39f75aeaf9002d97 [^]
Fixed issue 33639: Update Characteristic was not showing the correct data
If there was a product with a subset of a product characteristic, the update characteristic process was not showing the correct data. Instead of showing the products of the subset of the product characteristic, it was showing every product of the product characteristic.
To fix this, the where clause of the selector reference has been changed, making it more restrictive in the case of having a subset.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/UpdateInvariantCharacteristicsHandler.java
M src-db/database/sourcedata/AD_REF_TREE.xml
M web/js/productCharacteristicsProcess.js
---
|
|
|
|
|
|
(0089311)
|
hgbot
|
2016-08-23 16:23
|
|
Repository: erp/devel/pi
Changeset: 2327cf3c2782b5ab7d2d76e67e20f427e4597930
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Tue Aug 23 16:22:44 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2327cf3c2782b5ab7d2d76e67e20f427e4597930 [^]
Related to issue 33639: A "magic number" has been renamed.
There was a magic number and now it is a constant.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/UpdateInvariantCharacteristicsHandler.java
---
|
|
|
|
Code reviewed and verified in pi@2327cf3c2782 |
|
|
|
|