Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023890 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2013-05-22 23:57 | 2013-06-02 09:43 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP24 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3b9604eee5d7 | ||||
Projection | none | ETA | none | Target Version | 3.0MP24 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | shankarb | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0023890: Bad behaviour on grid view when searching on a selector field if the selector has defined a diplayed field | |||||||
Description | Bad behaviour on grid view when searching on a selector field if the selector has defined a diplayed field. The query executed on grid view is different than the one executed on form view | |||||||
Steps To Reproduce | -As system administrador define a template -Then go to the product selector reference. -On the defined selector tab add a displayed field. For example name Enable all the queries on the postgresql log Logout and login -go to sales order window -go to lines window -insert a new row on form view -insert a letter on the product selector field, for example a. *Check the sql that appears on the log -repeat the same on grid view *Check that the sql is different than the one that you get on form view | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0059000) hgbot (developer) 2013-05-28 17:50 |
Repository: erp/devel/pi Changeset: 3b9604eee5d7b16109e339e75f17b5f8be9b4467 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Tue May 28 17:49:38 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3b9604eee5d7b16109e339e75f17b5f8be9b4467 [^] Fixes issue 23890: The same hql is generated in the grid and in form view The problem was that for that particular selector (Product selector), the generated displayfield string was 'product$product$name'. This is not correct, because the Product entity does not have a product property, the correct displayfield string is product$name. This has been fixed in the getDisplayFielName method of the FKSelectorUIDefinition class. A check has been added to make sure that the property used in the display field is part of the referenced entity. If it is not, then the displayFieldName is returned directly, instead of trying to append it to the referenced property. --- M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/reference/FKSelectorUIDefinition.java --- |
(0059097) hudsonbot (developer) 2013-06-01 02:14 |
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/31f9b82dde77 [^] Maturity status: Test |
(0059116) shankarb (reporter) 2013-06-02 09:43 |
Code reviewed and tested in pi changeset f0878dbca750 |
Issue History | |||
Date Modified | Username | Field | Change |
2013-05-22 23:57 | egoitz | New Issue | |
2013-05-22 23:57 | egoitz | Assigned To | => AugustoMauch |
2013-05-22 23:57 | egoitz | Modules | => Core |
2013-05-22 23:57 | egoitz | Triggers an Emergency Pack | => No |
2013-05-22 23:58 | egoitz | Relationship added | related to 0023889 |
2013-05-22 23:58 | egoitz | Tag Attached: Performance | |
2013-05-23 02:06 | eintelau | Issue Monitored: eintelau | |
2013-05-28 17:49 | AugustoMauch | Issue Monitored: shankarb | |
2013-05-28 17:50 | AugustoMauch | Review Assigned To | => shankarb |
2013-05-28 17:50 | hgbot | Checkin | |
2013-05-28 17:50 | hgbot | Note Added: 0059000 | |
2013-05-28 17:50 | hgbot | Status | new => resolved |
2013-05-28 17:50 | hgbot | Resolution | open => fixed |
2013-05-28 17:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3b9604eee5d7b16109e339e75f17b5f8be9b4467 [^] |
2013-06-01 02:14 | hudsonbot | Checkin | |
2013-06-01 02:14 | hudsonbot | Note Added: 0059097 | |
2013-06-02 09:43 | shankarb | Note Added: 0059116 | |
2013-06-02 09:43 | shankarb | Status | resolved => closed |
2013-06-02 09:43 | shankarb | Fixed in Version | => 3.0MP24 |
2015-07-23 11:20 | alostale | Relationship added | related to 0030403 |
Copyright © 2000 - 2009 MantisBT Group |