Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035214
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2017-02-09 17:342017-03-15 20:19
ReporterJONHMView Statuspublic 
Assigned Toinigosanchez 
PriorityhighResolutionfixedFixed in Version3.0PR17Q2
StatusclosedFix in branchFixed in SCM revisionaff21cc5e768
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035214: Dropdowns of multi selector are not opening when included in a process

DescriptionWhen 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)
Steps To Reproduce1) 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)
TagsNo tags attached.
Attached Files? file icon DropdownError.mp4 [^] (1,206,666 bytes) 2017-02-10 10:15

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035124 closedinigosanchez Selectors in Process Definition invoked from menu show only records of organizations in the context organization's natural tree 
has duplicate defect 0035354 closedinigosanchez Combo box picker is not working in Multi Selector Popup 
related to defect 0035401 acknowledgedTriage Platform Base OBSelectorFilterSelectItem should try to retrieve ad_org_id field 

-  Notes
(0094190)
caristu (developer)
2017-02-09 19:29
edited on: 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 (manager)
2017-02-10 09:11

Please update issue with accurate and understandable summary, description and steps.
(0094441)
hgbot (developer)
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 (manager)
2017-02-24 10:00

code reviewed + tested
(0095193)
hudsonbot (developer)
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

- Issue History
Date Modified Username Field Change
2017-02-09 17:34 JONHM New Issue
2017-02-09 17:34 JONHM Assigned To => platform
2017-02-09 17:34 JONHM Modules => Core
2017-02-09 17:34 JONHM Resolution time => 1487804400
2017-02-09 17:34 JONHM Triggers an Emergency Pack => No
2017-02-09 17:50 jonalegriaesarte Issue Monitored: jonalegriaesarte
2017-02-09 19:29 caristu Note Added: 0094190
2017-02-09 19:29 caristu Note Edited: 0094190 View Revisions
2017-02-10 09:09 alostale Relationship added related to 0035124
2017-02-10 09:11 alostale Note Added: 0094212
2017-02-10 09:11 alostale Assigned To platform => JONHM
2017-02-10 09:11 alostale Status new => feedback
2017-02-10 10:15 JONHM Assigned To JONHM => platform
2017-02-10 10:15 JONHM Status feedback => new
2017-02-10 10:15 JONHM Summary Wrong 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:15 JONHM Description Updated View Revisions
2017-02-10 10:15 JONHM Steps to Reproduce Updated View Revisions
2017-02-10 10:15 JONHM File Added: DropdownError.mp4
2017-02-10 10:17 JONHM Summary Dropdowns 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:01 inigosanchez Status new => scheduled
2017-02-13 13:01 inigosanchez Assigned To platform => inigosanchez
2017-02-17 08:49 hgbot Checkin
2017-02-17 08:49 hgbot Note Added: 0094441
2017-02-17 08:49 hgbot Status scheduled => resolved
2017-02-17 08:49 hgbot Resolution open => fixed
2017-02-17 08:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aff21cc5e768f69a1b84536d9823be28d192c8dc [^]
2017-02-17 08:50 inigosanchez Review Assigned To => alostale
2017-02-24 10:00 alostale Note Added: 0094602
2017-02-24 10:00 alostale Status resolved => closed
2017-02-24 10:00 alostale Fixed in Version => 3.0PR17Q2
2017-02-27 17:25 inigosanchez Relationship added has duplicate 0035354
2017-03-01 17:45 inigosanchez Relationship added related to 0035401
2017-03-15 20:19 hudsonbot Checkin
2017-03-15 20:19 hudsonbot Note Added: 0095193


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker