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/05 19:03:35 UTC

[jira] [Created] (OPENMEETINGS-1157) Calendar web service is broken

Maxim Solodovnik created OPENMEETINGS-1157:
----------------------------------------------

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