Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028981Openbravo ERPA. Platformpublic2015-02-18 13:342015-03-02 09:35
AugustoMauch 
gorkaion 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR15Q2 
alostale
Core
Coding ( Testing )
pi
No
0028981: When any parameter window is opened, an error is shown in the javascript log
When the user opens a parameter window that does not use the PDF button or the XLS button, an error is shown in the javascript log:

 Uncaught TypeError: Cannot read property 'setEnabled' of undefined
As F&B Admin
- Open the Payment In window
- Create a new record in the header tab
- Open the debugger and show the console view
- Click on the Add Details button to open a parameter window
- Check that several errors are shown in the console:
 Uncaught TypeError: Cannot read property 'setEnabled' of undefined
Check that the buttons exist before trying to invoke functions on them
No tags attached.
Issue History
2015-02-18 13:34AugustoMauchNew Issue
2015-02-18 13:34AugustoMauchAssigned To => gorkaion
2015-02-18 13:34AugustoMauchModules => Core
2015-02-18 13:34AugustoMauchRegression level => Coding ( Testing )
2015-02-18 13:34AugustoMauchRegression introduced in release => pi
2015-02-18 13:34AugustoMauchTriggers an Emergency Pack => No
2015-02-18 14:08hgbotCheckin
2015-02-18 14:08hgbotNote Added: 0074603
2015-02-18 14:08hgbotStatusnew => resolved
2015-02-18 14:08hgbotResolutionopen => fixed
2015-02-18 14:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b5ce661abc2dfa2a5902d437c00151d256aafeae [^]
2015-02-23 05:11hudsonbotCheckin
2015-02-23 05:11hudsonbotNote Added: 0074786
2015-03-02 09:35alostaleReview Assigned To => alostale
2015-03-02 09:35alostaleNote Added: 0075056
2015-03-02 09:35alostaleStatusresolved => closed
2015-03-02 09:35alostaleFixed in Version => 3.0PR15Q2

Notes
(0074603)
hgbot   
2015-02-18 14:08   
Repository: erp/devel/pi
Changeset: b5ce661abc2dfa2a5902d437c00151d256aafeae
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Feb 18 14:05:08 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b5ce661abc2dfa2a5902d437c00151d256aafeae [^]

Fixed issue 28981. Use hanldeButtonsStatus() function

Instead of enabling disabling all the buttons the handleButtonsStatus()
function has to be used. This function checks the buttons that are available
so only the buttons that have been created are enabled or disabled.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0074786)
hudsonbot   
2015-02-23 05:11   
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/6856352d7235 [^]
Maturity status: Test
(0075056)
alostale   
2015-03-02 09:35   
code reviewed + tested