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 2013/09/08 09:38:51 UTC

[jira] [Resolved] (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 resolved OPENMEETINGS-784.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0 Apache Release
         Assignee: Maxim Solodovnik

Committed revision 1520843.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira