Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035214Openbravo ERPA. Platformpublic2017-02-09 17:342017-03-15 20:19
JONHM 
inigosanchez 
highmajoralways
closedfixed 
5
 
3.0PR17Q2 
alostale
Core
No
0035214: Dropdowns of multi selector are not opening when included in a process
When trying to filter by some record by clicking in a drop-down, it does not open and shows a JavaScript error in developer tools:

Uncaught TypeError: Cannot read property 'getContextInfo' of undefined
    at _2.filterDataBoundPickList (f8959dd283633b1004f007235350f34e.js:3277)
    at _2.$19p (ISC_Combined.js:9225)
    at _2.filterPickList (ISC_Combined.js:9224)
    at _2.setUpPickList (ISC_Combined.js:9191)
    at _2.makePickList (ISC_Combined.js:9174)
    at _2.isc_ComboBoxItem_makePickList [as makePickList] (ISC_Combined.js:9645)
    at _2.showPickList (ISC_Combined.js:9161)
    at _2.isc_c_Class_invokeSuper [as invokeSuper] (ISC_Combined.js:245)
    at _2.isc_c_Class_Super [as Super] (ISC_Combined.js:237)
    at _2.showPickList (f8959dd283633b1004f007235350f34e.js:501)
1) Open [Process Price Difference Adjustment]
2) Click into [Product] selector (lens icon)
3) Click into drop-down of "Generic Product" column
--> The error appears on developer tools (watch attached video)
No tags attached.
related to defect 0035124 closed inigosanchez Selectors in Process Definition invoked from menu show only records of organizations in the context organization's natural tree 
has duplicate defect 0035354 closed inigosanchez Combo box picker is not working in Multi Selector Popup 
related to defect 0035401 acknowledged Triage Platform Base OBSelectorFilterSelectItem should try to retrieve ad_org_id field 
? DropdownError.mp4 (1,206,666) 2017-02-10 10:15
https://issues.openbravo.com/file_download.php?file_id=10434&type=bug
Issue History
2017-02-09 17:34JONHMNew Issue
2017-02-09 17:34JONHMAssigned To => platform
2017-02-09 17:34JONHMModules => Core
2017-02-09 17:34JONHMResolution time => 1487804400
2017-02-09 17:34JONHMTriggers an Emergency Pack => No
2017-02-09 17:50jonalegriaesarteIssue Monitored: jonalegriaesarte
2017-02-09 19:29caristuNote Added: 0094190
2017-02-09 19:29caristuNote Edited: 0094190bug_revision_view_page.php?bugnote_id=0094190#r14545
2017-02-10 09:09alostaleRelationship addedrelated to 0035124
2017-02-10 09:11alostaleNote Added: 0094212
2017-02-10 09:11alostaleAssigned Toplatform => JONHM
2017-02-10 09:11alostaleStatusnew => feedback
2017-02-10 10:15JONHMAssigned ToJONHM => platform
2017-02-10 10:15JONHMStatusfeedback => new
2017-02-10 10:15JONHMSummaryWrong deployment of data when filtering on a selector included in a process => Dropdowns of multi selector not working when included in a process
2017-02-10 10:15JONHMDescription Updatedbug_revision_view_page.php?rev_id=14547#r14547
2017-02-10 10:15JONHMSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14549#r14549
2017-02-10 10:15JONHMFile Added: DropdownError.mp4
2017-02-10 10:17JONHMSummaryDropdowns of multi selector not working when included in a process => Dropdowns of multi selector are not opening when included in a process
2017-02-13 13:01inigosanchezStatusnew => scheduled
2017-02-13 13:01inigosanchezAssigned Toplatform => inigosanchez
2017-02-17 08:49hgbotCheckin
2017-02-17 08:49hgbotNote Added: 0094441
2017-02-17 08:49hgbotStatusscheduled => resolved
2017-02-17 08:49hgbotResolutionopen => fixed
2017-02-17 08:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aff21cc5e768f69a1b84536d9823be28d192c8dc [^]
2017-02-17 08:50inigosanchezReview Assigned To => alostale
2017-02-24 10:00alostaleNote Added: 0094602
2017-02-24 10:00alostaleStatusresolved => closed
2017-02-24 10:00alostaleFixed in Version => 3.0PR17Q2
2017-02-27 17:25inigosanchezRelationship addedhas duplicate 0035354
2017-03-01 17:45inigosanchezRelationship addedrelated to 0035401
2017-03-15 20:19hudsonbotCheckin
2017-03-15 20:19hudsonbotNote Added: 0095193

Notes
(0094190)
caristu   
2017-02-09 19:29   
The error is raised in the following line[1]. The code is assuming that the selector is placed on a standard view (window). It must consider the case where the selector is being displayed from a process definition view.


[1] https://code.openbravo.com/erp/devel/pi/file/3c8f06355454/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js#l27 [^]

(0094212)
alostale   
2017-02-10 09:11   
Please update issue with accurate and understandable summary, description and steps.
(0094441)
hgbot   
2017-02-17 08:49   
Repository: erp/devel/pi
Changeset: aff21cc5e768f69a1b84536d9823be28d192c8dc
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Thu Feb 16 09:55:22 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/aff21cc5e768f69a1b84536d9823be28d192c8dc [^]

Fixed issue 35214:Dropdowns are not opening properly when included in a process

The problem is assuming that the selector is placed on a standard view (window).
When a selector is placed on a process definition, the selector raises an error
and no data is showed. It must consider the case where the selector is being
displayed from a process definition view.

This problem has been resolved by take into account when a selector is being
displayed from a process definition. Now, the problem has been fixed.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js
---
(0094602)
alostale   
2017-02-24 10:00   
code reviewed + tested
(0095193)
hudsonbot   
2017-03-15 20: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/54e102bef53e [^]
Maturity status: Test