Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015848Openbravo ERPZ. Otherspublic2011-02-02 19:142011-02-05 00:00
immediateminorhave not tried
User Interface Application
0015848: api change, public method ParameterUtils.getParameterFixedValue() method return Object instead of String
Due to this changeset the api has been broken. [^]
The return object type of the public method parameterUtils.getParameterFixedValue() has been changed from String to Object.

This method returns the Fixed value of the given parameter. If the value is a JS expression it returns the result of the expression based on the parameters passed in from the request. The problem is that the JS expression can return any Object type, not only String. For example, in case that it is desired to get the readable organizations of a role the expression would be "OB.getContext().getReadableOrganizations()" which returns an String[] object.

The risk is low as this is a public method that has been included on one of the last published versions of the Client Application module. In case that someone is using it the fix is to add a cast to String on the method's call.
No tags attached.
Issue History
2011-02-02 19:14gorkaionNew Issue
2011-02-02 19:14gorkaionAssigned To => iciordia
2011-02-02 19:14gorkaionModules => User Interface Application
2011-02-02 19:31iciordiaNote Added: 0034017
2011-02-02 19:31iciordiaAssigned Toiciordia => gorkaion
2011-02-03 10:40hgbotCheckin
2011-02-03 10:40hgbotNote Added: 0034021
2011-02-03 10:40hgbotStatusnew => resolved
2011-02-03 10:40hgbotResolutionopen => fixed
2011-02-03 10:40hgbotFixed in SCM revision => [^]
2011-02-04 14:56gorkaionStatusresolved => closed
2011-02-05 00:00anonymoussf_bug_id0 => 3173093

2011-02-02 19:31   

2011-02-03 10:40   
Repository: erp/devel/api-checks
Changeset: e4beaa650455aaf35a0fc192ca6cefceb161dc87
Author: Gorka Ion Damián <gorkaion.damian <at>>
Date: Thu Feb 03 10:38:29 2011 +0100
URL: [^]

Fixed issue 15848. Api check 1025 fails.

M java/reference/java.japi.gz