Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027469Openbravo ERPA. Platformpublic2014-08-26 08:222014-09-09 10:14
caristu 
shankarb 
urgentmajoralways
closedfixed 
5
 
3.0PR14Q43.0PR14Q4 
AugustoMauch
Core
No
0027469: Unexpected behavior in OBUISEL_Selector reference when the Display Field is set
Is not possible to save a record if it includes a column with an OBUISEL_Selector reference which is not of custom query type and it has the Display Field set
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 or in form view.

This behavior is not happening with "custom query" selectors.
No tags attached.
related to defect 0030403 closed caristu Unexpected behavior in grid view with OBUISEL_Selector reference when the Display Field is set 
causes defect 0030297 closed alostale Reference with Search parent reference (old selector) is not working under some circumstances 
Issue History
2014-08-26 08:22caristuNew Issue
2014-08-26 08:22caristuAssigned To => AugustoMauch
2014-08-26 08:22caristuModules => Core
2014-08-26 08:22caristuTriggers an Emergency Pack => No
2014-08-26 08:23caristuIssue Monitored: networkb
2014-08-26 09:45caristuResolution time => 1411423200
2014-08-26 13:37shankarbAssigned ToAugustoMauch => shankarb
2014-08-26 13:39shankarbStatusnew => scheduled
2014-08-26 13:39shankarbNote Added: 0069759
2014-08-26 13:39shankarbfix_in_branch => pi
2014-08-27 05:50shankarbReview Assigned To => AugustoMauch
2014-08-27 05:50shankarbfix_in_branchpi =>
2014-08-27 05:50shankarbIssue Monitored: AugustoMauch
2014-08-27 05:54hgbotCheckin
2014-08-27 05:54hgbotNote Added: 0069777
2014-08-27 05:54hgbotStatusscheduled => resolved
2014-08-27 05:54hgbotResolutionopen => fixed
2014-08-27 05:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/976a64153145b468099f13d78289ad45b4fb06c7 [^]
2014-08-27 19:19hudsonbotCheckin
2014-08-27 19:19hudsonbotNote Added: 0069814
2014-09-09 10:14AugustoMauchNote Added: 0070042
2014-09-09 10:14AugustoMauchStatusresolved => closed
2014-09-09 10:14AugustoMauchFixed in Version => 3.0PR14Q4
2015-07-03 09:42ngarciaRelationship addedcauses 0030297
2015-07-22 10:10alostaleRelationship addedrelated to 0030403

Notes
(0069759)
shankarb   
2014-08-26 13:39   
Fix pushed to try
(0069777)
hgbot   
2014-08-27 05:54   
Repository: erp/devel/pi
Changeset: 976a64153145b468099f13d78289ad45b4fb06c7
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Aug 26 17:08:24 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/976a64153145b468099f13d78289ad45b4fb06c7 [^]

Fixes Issue 27469: Unexpected behavior in OBUISEL_Selector reference when the Display Field is set

When the display value contains entity$fieldname, check the record only for fieldname value.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0069814)
hudsonbot   
2014-08-27 19:19   
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/eb6e5df16d4d [^]
Maturity status: Test
(0070042)
AugustoMauch   
2014-09-09 10:14   
Code reviewed and verified in pi@4e439ac1ded2