Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017006 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2011-05-04 16:37 | 2011-05-12 13:30 | |||
Reporter | AinhoaPagola | View Status | public | |||||
Assigned To | iperdomo | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | f2a90f673328 | ||||
Projection | none | ETA | none | Target Version | 3.0MP0 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.5 | |||
OS Version | Ubuntu 8.4 | Database version | 8.3 | Ant version | 1.7 | |||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0017006: New selector not refreshing properly data | |||||||
Description | The data shown in the picklist of a new selector does is not refreshed properly. It does not detect that parameters of its filter have been changed, so it keep filtering with the old values of the parameter. | |||||||
Steps To Reproduce | * To test this issue at least 2 products are needed. This products must have an Attribute set. And some transactions with these products are needed. For example, "vino tinto" and "vino blanco". 1) Create a new selector as defined in [1] - In Defined Selector tab set: * Table: "M_transaction" * HQL where clause: e.attributeSetValue!='0' - In Defined Selector Field create 4 new fields: * Movement date - Property: movementDate * Identificator - Property: _identifier * Attribute - Property: attributeSetValue * Article - Property: product. Default Expresion: OB.getParameters().get('inpmProductId'). With this default expresion, the filter should show only the attributes of the selected product. For all the fileds check central maintenance, sortable, filtable and show in grid. 2) Go to Tables and Columns and select OrderLine table. - Select M_AttributeSetInstance_ID column and change its reference to OBUISEL_Selector Reference. - Set Reference Serach Key to the new selector. 3) Change to Admin rol. Go to Saler Order. Create a new header. Create a new line selecting the product "vino tinto". The attribute selector will be displayed. Click on the picklist and check that its attrbiutes are displayed. Change the product to "vino blanco" and click on the picklist for the attributes. The attributes of the product vino tinto will still remain. [1] http://wiki.openbravo.com/wiki/Projects/Selector/Developers_Manual#Step_1:_Define_a_Reference [^] ~~~ Alternative steps to reproduce: 1) Open an existing sales order and open the business partner picklist, check that only customers appear. 2) Open on a new tab the business partner window and change the customer flag for a couple of business partner. Remove it from a customer and add it to a provider. 3) Go back to the sales order tab and open again the picklist and see how the data is not updated to latest changes. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||||||||||||||||||||||||||||||
|
![]() |
|
(0036384) gorkaion (viewer) 2011-05-05 11:16 |
Added alternative steps to reproduce |
(0036391) hgbot (developer) 2011-05-05 11:31 |
Repository: erp/devel/pi Changeset: f2a90f673328a786beb7d8ec829abffd6e9217ea Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com> Date: Thu May 05 11:28:22 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/f2a90f673328a786beb7d8ec829abffd6e9217ea [^] Fixed issue 17006.Delete picklist cache to force a reload of the data. --- M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js --- |
(0036659) AinhoaPagola (viewer) 2011-05-11 09:48 |
Tested following both steps to reporduce and it works fine. |
(0036825) hudsonbot (viewer) 2011-05-12 13:30 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2011-05-04 16:37 | AinhoaPagola | New Issue | |
2011-05-04 16:37 | AinhoaPagola | Assigned To | => alostale |
2011-05-04 16:37 | AinhoaPagola | Modules | => Core |
2011-05-04 16:37 | AinhoaPagola | OBNetwork customer | => Yes |
2011-05-04 16:37 | AinhoaPagola | Issue Monitored: networkb | |
2011-05-04 17:32 | AinhoaPagola | Relationship added | related to 0016980 |
2011-05-04 17:33 | AinhoaPagola | Relationship added | related to 0016979 |
2011-05-04 17:34 | AinhoaPagola | Relationship added | depends on 0017008 |
2011-05-04 17:34 | AinhoaPagola | Relationship deleted | depends on 0017008 |
2011-05-04 17:34 | AinhoaPagola | Relationship added | related to 0017008 |
2011-05-04 17:34 | AinhoaPagola | Relationship added | depends on 0017010 |
2011-05-04 17:35 | AinhoaPagola | Relationship deleted | depends on 0017010 |
2011-05-04 17:35 | AinhoaPagola | Relationship added | related to 0017010 |
2011-05-04 17:35 | AinhoaPagola | Relationship added | related to 0017011 |
2011-05-05 09:06 | alostale | Target Version | => 3.0RC8 |
2011-05-05 09:06 | alostale | Assigned To | alostale => iperdomo |
2011-05-05 09:07 | alostale | Status | new => scheduled |
2011-05-05 10:27 | gorka_gil | Target Version | 3.0RC8 => 3.0MP0 |
2011-05-05 11:16 | gorkaion | Note Added: 0036384 | |
2011-05-05 11:16 | gorkaion | Steps to Reproduce Updated | View Revisions |
2011-05-05 11:31 | hgbot | Checkin | |
2011-05-05 11:31 | hgbot | Note Added: 0036391 | |
2011-05-05 11:31 | hgbot | Status | scheduled => resolved |
2011-05-05 11:31 | hgbot | Resolution | open => fixed |
2011-05-05 11:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f2a90f673328a786beb7d8ec829abffd6e9217ea [^] |
2011-05-11 09:48 | AinhoaPagola | Note Added: 0036659 | |
2011-05-11 09:48 | AinhoaPagola | Status | resolved => closed |
2011-05-12 13:30 | hudsonbot | Checkin | |
2011-05-12 13:30 | hudsonbot | Note Added: 0036825 |
Copyright © 2000 - 2009 MantisBT Group |