Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026008Openbravo ERPA. Platformpublic2014-03-14 17:192014-03-18 14:49
AugustoMauch 
AugustoMauch 
immediatecriticalhave not tried
closedfixed 
5
 
3.0PR14Q23.0PR14Q2 
alostale
Core
Automated tests
2014-03-13
https://code.openbravo.com/erp/devel/pi/rev/2ac8f916576971d180a9cfe45ca4829591a90bae [^]
No
0026008: Problem while picking a business partner using a selector
When the popup of the business partner selector is opened an error is being shown:

java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
- Open the Payment Out window
- Create a new record in the header tab
- Click on the magnifier glass icon of the Business Partner field.
- The error is shown
No tags attached.
related to defect 00259513.0PR14Q2 closed AugustoMauch The displaylogic is not working if an auxiliary input is used. 
Issue History
2014-03-14 17:19AugustoMauchNew Issue
2014-03-14 17:19AugustoMauchAssigned To => AugustoMauch
2014-03-14 17:19AugustoMauchModules => Core
2014-03-14 17:19AugustoMauchTriggers an Emergency Pack => No
2014-03-14 17:21AugustoMauchRegression level => Automated tests
2014-03-14 17:21AugustoMauchRegression date => 2014-03-13
2014-03-14 17:21AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/2ac8f916576971d180a9cfe45ca4829591a90bae [^]
2014-03-14 17:21AugustoMauchRelationship addedrelated to 0025951
2014-03-14 17:25AugustoMauchIssue Monitored: alostale
2014-03-14 17:25AugustoMauchReview Assigned To => alostale
2014-03-14 17:27hgbotCheckin
2014-03-14 17:27hgbotNote Added: 0065168
2014-03-14 17:27hgbotStatusnew => resolved
2014-03-14 17:27hgbotResolutionopen => fixed
2014-03-14 17:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d8f328c5d332534f3495f403d22e32eca38e7a6e [^]
2014-03-15 03:05hudsonbotCheckin
2014-03-15 03:05hudsonbotNote Added: 0065188
2014-03-18 14:49alostaleNote Added: 0065262
2014-03-18 14:49alostaleStatusresolved => closed
2014-03-18 14:49alostaleFixed in Version => PR14Q2

Notes
(0065168)
hgbot   
2014-03-14 17:27   
Repository: erp/devel/pi
Changeset: d8f328c5d332534f3495f403d22e32eca38e7a6e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Mar 14 17:25:28 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d8f328c5d332534f3495f403d22e32eca38e7a6e [^]

Fixes issue 26008: Problem while picking a business partner using a selector

The problem was that the overwrittenAuxiliaryInputs parameter (a string array) was being returned in the getContextInfo function, and sent to all action handlers. Some action handlers assume that the parameters do not contain arrays, and where having problems trying to convert the string array to a plain string.

The overwrittenAuxiliaryInputs parameter is only used in the FIC, and only when it is called in CHANGE mode. For all other modes, the paramater is reset to an empty string array in the FIC. To fix this, the overwrittenAuxiliaryInputs parameter is only sent to the FIC, and only in CHANGE mode.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0065188)
hudsonbot   
2014-03-15 03:05   
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/8396ec753aec [^]
Maturity status: Test
(0065262)
alostale   
2014-03-18 14:49   
code reviewed + tested