[
https://issues.apache.org/jira/browse/OPENMEETINGS-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307664#comment-14307664
]
ASF subversion and git services commented on OPENMEETINGS-1157:
---------------------------------------------------------------
Commit 1657645 from [~solomax] in branch 'openmeetings/branches/3.0.x'
[ https://svn.apache.org/r1657645 ]
[OPENMEETINGS-1157] DTO are being returned instead of DB objects
> Calendar web service is broken
> ------------------------------
>
> Key: OPENMEETINGS-1157
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1157
> Project: Openmeetings
> Issue Type: Bug
> Components: SOAP/REST API
> Affects Versions: 3.0.3
> Reporter: Maxim Solodovnik
> Assignee: Maxim Solodovnik
> Fix For: 3.0.4, 3.1.0
>
>
> Calendar web service is broken: getRange methods are not working
> per José Fernando da Silva email:
> I am using Ruby to send request to openmeetings server. But, you can
> reproduce the same error using a browser, I used chrome to do it:
> 1) First get an authenticated sid;
> 2) Send the request below to the openmeetings ( The openmeetings in a VM with
> ip 10.3.3.25):
>
> http://10.3.3.25:5080/openmeetings/services/CalendarService/getAppointmentByRange?SID=62b959dabd61ad0565139b941c725f61&starttime=2015-02-05T10:25:13-02:00&endtime=2015-02-05T18:25:13-02:00
>
> The server returns this answer:
>
> <soapenv:Reason
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Text xml:lang="en-US">ZONE_OFFSET</soapenv:Text>
> </soapenv:Reason>
> 3) Change the time and zone portion of the url in item 2 and resubmit:
>
> http://10.3.3.25:5080/openmeetings/services/CalendarService/getAppointmentByRange?SID=62b959dabd61ad0565139b941c725f61&starttime=2015-02-05T10:25:13-02:00&endtime=2015-02-05T00:00:00-00:00
> The server returns this answer:
> <soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Text xml:lang="en-US">
> org.apache.axis2.AxisFault: Property 'inserted' in bean class
> 'org.apache.openmeetings.db.entity.calendar.MeetingMember'is not readable.
> </soapenv:Text>
> </soapenv:Reason>
> The method saveAppointment works perfectly. It think it is because it uses
> Calendar as type for appointmentstart and appointmentend parameters instead
> of Date.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)