Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030404 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2015-07-22 10:02 | 2015-07-23 17:30 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6273bf287bb7 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2015-07-06 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/22f85795e81fcad7a6c4c5465ba60d582c69919b [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030404: Unexpected behavior in grid view with OBUISEL_Selector reference when the Display Field is set | |||||||
Description | Is not possible to save a record in grid view if it includes a column with an OBUISEL_Selector reference which is not of custom query type and it has the Display Field set | |||||||
Steps To Reproduce | As system administrator 1) Go to the [Reference] window, select the "Business Partner selector" reference and navigate to the Defined Selector tab. Set a value for the Display Field, for example Search Key. 2) Go to [Tables and Columns] and change the reference used for the C_BPartner_ID column in the C_Order table, using the "Business partner selector" instead. As group admin 3) Go to the Sales Order window, try to save a record in grid view. | |||||||
Tags | Approved | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0079043) hgbot (developer) 2015-07-23 16:33 |
Repository: erp/backports/3.0PR15Q3 Changeset: 6273bf287bb7ec722b49541ecd9739b389a519de Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Jul 23 13:51:40 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/6273bf287bb7ec722b49541ecd9739b389a519de [^] Fixes issue 30404: selectors not working in grid view when display field is set When setting the display field for a selector with FKSelectorUIDefinition as its UI Definition class, if the display field was referencing to a property of the main entity of the selector, the display field name returned as part of the gridProps in the view definition was 'entity'. The _extraProperties in the datasource used by the selector does not contain the entity name if they are referencing to the main entity. That is the root of the problem: when trying to set the selected value of the selector picklist in grid view, the display field name was never found as we were using 'entity' instead of looking directly for 'property'. This problem does not affect when setting as display field a field that references a property which does not belong to the main entity of the selector. To solve this problem, now in FKSelectorUIDefinition we return 'property' as the display field name instead of 'entity' when the property belongs to the main entity. --- M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/reference/FKSelectorUIDefinition.java --- |
(0079056) alostale (manager) 2015-07-23 17:30 |
code reviewed * tested with Search and OBUISEL_Selector references both in grid and form views * tested issue 0030297 * tested issue 0023890 |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-22 10:11 | alostale | Type | defect => backport |
2015-07-22 10:11 | alostale | Target Version | => 3.0PR15Q3 |
2015-07-23 11:27 | alostale | Tag Attached: Approved | |
2015-07-23 16:33 | hgbot | Checkin | |
2015-07-23 16:33 | hgbot | Note Added: 0079043 | |
2015-07-23 16:33 | hgbot | Status | scheduled => resolved |
2015-07-23 16:33 | hgbot | Resolution | open => fixed |
2015-07-23 16:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/6273bf287bb7ec722b49541ecd9739b389a519de [^] |
2015-07-23 17:30 | alostale | Note Added: 0079056 | |
2015-07-23 17:30 | alostale | Status | resolved => closed |
2015-07-23 17:30 | alostale | Fixed in Version | => 3.0PR15Q3 |
Copyright © 2000 - 2009 MantisBT Group |