Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028048Openbravo ERPA. Platformpublic2014-11-01 14:432014-12-30 23:24
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
3.0PR15Q1 
AugustoMauch
Core
No
0028048: Javascript undefined error in Process window with parameters on combo selector field
See the attached screenshot, the year combo gives a js error if the user tries to open it.
this.form.view is not defined when the logic gets to this line in the ob-selector-item.js file:
if (!this.form.view.isShowingForm)
Install the analytics and the multidimensional finance analytics modules:
https://code.openbravo.com/erp/pmods/org.openbravo.client.analytics [^]
https://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionalbalancereport [^]
https://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionalpandlreport [^]
https://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionalreports [^]
https://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionaltrialbalancereport [^]

open the multi dimensional trial balance window
click on the year combo (see screenshot)
Check that this.form.view is defined in the relevant js file. This check is also done in other parts of the code.
No tags attached.
png Selection_068.png (135,988) 2014-11-01 14:43
https://issues.openbravo.com/file_download.php?file_id=7458&type=bug
png
Issue History
2014-11-01 14:43mtaalNew Issue
2014-11-01 14:43mtaalAssigned To => mtaal
2014-11-01 14:43mtaalFile Added: Selection_068.png
2014-11-01 14:43mtaalModules => Core
2014-11-01 14:43mtaalTriggers an Emergency Pack => No
2014-11-01 14:44mtaalReview Assigned To => AugustoMauch
2014-11-01 14:46mtaalSummaryJavascript undefined error in Process window with parameters => Javascript undefined error in Process window with parameters on combo selector field
2014-11-01 14:48hgbotCheckin
2014-11-01 14:48hgbotNote Added: 0071321
2014-11-01 14:48hgbotStatusnew => resolved
2014-11-01 14:48hgbotResolutionopen => fixed
2014-11-01 14:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/af75bcf0b5680856ba8eb2be499f5df2fce34552 [^]
2014-11-03 11:40AugustoMauchNote Added: 0071344
2014-11-03 11:40AugustoMauchStatusresolved => closed
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073009

Notes
(0071321)
hgbot   
2014-11-01 14:48   
Repository: erp/devel/pi
Changeset: af75bcf0b5680856ba8eb2be499f5df2fce34552
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Nov 01 14:47:34 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/af75bcf0b5680856ba8eb2be499f5df2fce34552 [^]

Fixes issue 28048: Javascript undefined error in Process window with parameters on combo selector field
Added check that this.form.view is defined, this same check is also done in other parts of the code

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0071344)
AugustoMauch   
2014-11-03 11:40   
Code reviewed and verified in pi@af75bcf0b568
(0073009)
hudsonbot   
2014-12-30 23:24   
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/6525fe229e06 [^]
Maturity status: Test