You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Maxim Solodovnik (JIRA)" <ji...@apache.org> on 2014/02/05 05:44:32 UTC

[jira] [Closed] (OPENMEETINGS-784) SOAP API service "modifyRoomParameter" converts "paramValue" into String

     [ https://issues.apache.org/jira/browse/OPENMEETINGS-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Solodovnik closed OPENMEETINGS-784.
-----------------------------------------


Closing resolved issues related to 3.0.0 release

> SOAP API service "modifyRoomParameter" converts "paramValue" into String
> ------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-784
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-784
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: SOAP/REST API
>    Affects Versions: 2.1.1 Apache Release
>         Environment: OS: Ubuntu 12.04 (32 bit)
> Platform: JRE 1.6
> Openmeetings 2.1.1
> Hardware: Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 
>            Reporter: Gurpreet Singh
>            Assignee: Maxim Solodovnik
>             Fix For: 3.0.0 Apache Release
>
>
> I tried the API service modifyRoomParameter" and sent "sipEnabled" as paramName and true as paramValue, but got the following error:
> 'Cannot invoke org.apache.openmeetings.persistence.beans.room.Room.setSipEnabled on bean class 'class org.apache.openmeetings.persistence.beans.room.Room' - argument type mismatch - had objects of type "java.lang.String" but expected signature "boolean"'
> The service converts the paramValue into String, whereas the "sipEnabled" is required to be a boolean value.
> Desired Result: The "paramValue" parameter should detect the datatype of the "paramName" being updated,  instead of converting it to String.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)