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 2015/02/24 14:53:04 UTC

[jira] [Created] (OPENMEETINGS-1183) It is impossible to change 'chatOpened' room parameter using modifyRoomParameter SOAP call

Maxim Solodovnik created OPENMEETINGS-1183:
----------------------------------------------

             Summary: It is impossible to change 'chatOpened' room parameter using modifyRoomParameter SOAP call
                 Key: OPENMEETINGS-1183
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1183
             Project: Openmeetings
          Issue Type: Bug
          Components: SOAP/REST API
    Affects Versions: 3.0.4
            Reporter: Maxim Solodovnik
            Assignee: Maxim Solodovnik
             Fix For: 3.0.5, 3.1.0


It is impossible to change 'chatOpened' room parameter using modifyRoomParameter SOAP call

Hi Maxim,

I have a more in depth description from our programmers:
I have used "chatOpened" with the value "true".

request URL:

http://om1.iskillu.samnaef.uk0.bigv.io:5080/openmeetings/services/RoomService/modifyRoomParameter?SID=bb8899171b3bf4bdd42fe861bb28bbe0&room_id=22&paramName=chatOpened&paramValue=true

and the response is:

<soapenv:Reason><soapenv:Text xml:lang="en-US">Failed to convert property value of type 'null' to required type 'boolean' for property 'chatOpened'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [null] to required type [boolean] for property 'chatOpened': PropertyEditor [org.springframework.beans.propertyeditors.CustomBooleanEditor] returned inappropriate value of type [null]</soapenv:Text></soapenv:Reason>

I even tried with different param values like 1 and "1" etc. But no luck.

So I changed the param name to "hideChat" with the value "true" which gives the following response:

request URL:

http://om1.iskillu.samnaef.uk0.bigv.io:5080/openmeetings/services/RoomService/modifyRoomParameter?SID=bb8899171b3bf4bdd42fe861bb28bbe0&room_id=22&paramName=hideChat&paramValue=true

response is:

<ns:modifyRoomParameterResponse><ns:return>1</ns:return></ns:modifyRoomParameterResponse>


But the chat window is opened by default in our demo room only, and not in the other rooms which we are creating dynamically through REST service.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)