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 2018/04/10 14:55:01 UTC

[jira] [Closed] (OPENMEETINGS-1857) RoomWebService hash method is broken

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

Maxim Solodovnik closed OPENMEETINGS-1857.
------------------------------------------

> RoomWebService hash method is broken
> ------------------------------------
>
>                 Key: OPENMEETINGS-1857
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1857
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: SOAP/REST API
>    Affects Versions: 4.0.2
>            Reporter: Maxim Solodovnik
>            Assignee: Maxim Solodovnik
>            Priority: Major
>             Fix For: 4.0.3, 5.0.0
>
>
> Hello,
>  
>                                 I have a problem with Room hash invitation in RoomWebService.
>                                 Given Service  : 
>                                 @Path(value="/hash")
>                                 public ServiceResult hash(@QueryParam(value="sid")
>                                                       String sid,
>                                                       @QueryParam(value="invite")
>                                                       InvitationDTO invite,
>                                                       @QueryParam(value="sendmail")
>                                                       boolean sendmail)
>                                 I can generate following URL :
>                                 URL : /room/hash?sid=94bc68fa-a946-4b0d-a845-e959deeab317&invite={"firstname":"Mark","lastname":"Steven","email":"[abc@gmail.com|mailto:abc@gmail.com]","password":"Sys@123!","passwordProtected":true,"subject":"Health Meeting","roomId":"2","message":"Meeting","validFrom":"2018-03-19 02:25:12","validTo":"2018-04-20 02:25:12"}&sendmail=true
>                                
>                                  parameter as bellow,
>                                 sid = 94bc68fa-a946-4b0d-a845-e959deeab317
>                                 invite = {"firstname":"Mark","lastname":"Steven","email":"[abc@gmail.com|mailto:abc@gmail.com]","password":"Sys@123!","passwordProtected":true,"subject":"Health Meeting","roomId":"2","message":"Meeting","validFrom":"2018-03-19 02:25:12","validTo":"2018-04-20 02:25:12"}
>                                 sendmail = true
>                                
>                                  On Restlet it will give me 500 Error :
>                                 Parameter Class org.apache.openmeetings.db.dto.room.InvitationDTO has no constructor with single String parameter, static valueOf(String) or fromString(String) methods
>                                
>                                  So please suggest how to pass parameter in room hash webservice, Specifically  @QueryParam(value="invite")InvitationDTO invite. And How to genarate URL for this RoomWebService.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)