microsoftgraph / msgraph-sdk-android

Microsoft Graph SDK for Android! https://graph.microsoft.io
Other
51 stars 43 forks source link

MeetingDuration in FindMeetingTimes doesn't serialize #54

Closed ghost closed 7 years ago

ghost commented 7 years ago

The issue is about serialization of meetingDuration parameter in IBaseUserRequestBuilder.getFindMeetingTimes method. When it is set in the request to "PT30M" it gets serialized to {}.

It is easy to check this problem by putting a debugger in DefaultSerializer.serializeObject method and check that serializableObject contains meetingDuration set and after Gson serialization outJsonTree always have the empty value.

Duration object is created with the following code:

DatatypeFactory.newInstance().newDuration("PT30M")
caitlinrussell commented 7 years ago

This will go out with the next bugfix release. Thanks for finding this!