You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Gurpreet Singh (JIRA)" <ji...@apache.org> on 2013/09/06 09:16:53 UTC

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

Gurpreet Singh created OPENMEETINGS-784:
-------------------------------------------

             Summary: 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


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