You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Franck Deroche (JIRA)" <ji...@apache.org> on 2013/12/10 18:27:18 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13844445#comment-13844445 ] 

Franck Deroche commented on OPENMEETINGS-784:
---------------------------------------------

Not sure about the proper workflow here, so I hope I'm not commenting in the wrong place or something like that, but, I wanted to ask if there was any hope for this fix to also be backported on the 2.x branch, and hopefully be part of an upcoming 2.x release ?

Without it, the modifyRoomParameter webservice isn't really usable for most of the parameter.

> 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.4#6159)