Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015848 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | minor | have not tried | 2011-02-02 19:14 | 2011-02-05 00:00 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | e4beaa650455 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.5.0_15 | |||
OS Version | Gentoo | Database version | 11g | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | User Interface Application | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0015848: api change, public method ParameterUtils.getParameterFixedValue() method return Object instead of String | |||||||
Description | Due to this changeset the api has been broken. https://code.openbravo.com/erp/devel/pi/rev/74206cdb4aed [^] 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0034017) iciordia (viewer) 2011-02-02 19:31 |
Approved. Ismael |
(0034021) hgbot (developer) 2011-02-03 10:40 |
Repository: erp/devel/api-checks Changeset: e4beaa650455aaf35a0fc192ca6cefceb161dc87 Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com> Date: Thu Feb 03 10:38:29 2011 +0100 URL: http://code.openbravo.com/erp/devel/api-checks/rev/e4beaa650455aaf35a0fc192ca6cefceb161dc87 [^] Fixed issue 15848. Api check 1025 fails. --- M java/reference/java.japi.gz --- |
![]() |
|||
Date Modified | Username | Field | Change |
2011-02-02 19:14 | gorkaion | New Issue | |
2011-02-02 19:14 | gorkaion | Assigned To | => iciordia |
2011-02-02 19:14 | gorkaion | Modules | => User Interface Application |
2011-02-02 19:14 | gorkaion | OBNetwork customer | => No |
2011-02-02 19:31 | iciordia | Note Added: 0034017 | |
2011-02-02 19:31 | iciordia | Assigned To | iciordia => gorkaion |
2011-02-03 10:40 | hgbot | Checkin | |
2011-02-03 10:40 | hgbot | Note Added: 0034021 | |
2011-02-03 10:40 | hgbot | Status | new => resolved |
2011-02-03 10:40 | hgbot | Resolution | open => fixed |
2011-02-03 10:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/e4beaa650455aaf35a0fc192ca6cefceb161dc87 [^] |
2011-02-04 14:56 | gorkaion | Status | resolved => closed |
2011-02-05 00:00 | anonymous | sf_bug_id | 0 => 3173093 |
Copyright © 2000 - 2009 MantisBT Group |