YammerMessage->LikedBy->Name->user_id #5

jimmerh opened this Issue Aug 8, 2012 · 5 comments

2 participants


YammerMessage.LikedBy.Name now has a new field called user_id of type long which means the call to get messages fails when a message contains a likedBy.

Stacktrace :

Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "user_id" (Class org.springframework.social.yammer.api.YammerMessage$LikedBy$Name), not marked as ignorable
at Source: org.apache.http.conn.EofSensorInputStream@681497b; line: 1, column: 20048


I'll get on that and fix it today. Are you using a milestone release or source?


Noticed it in the Milestone release so then got source to try the fix.

Milestone would be great!

Many thanks for the quick response.

@magott magott added a commit that closed this issue Aug 8, 2012
@magott Fix #5 Make json mapping more robust
Add mapping for Message.LikedBy.Name.userId
Add @JsonIgnoreProperties(ignoreUnknown=true) to all mixing classes to prevent exceptions as fields are added by Yammer in the future
@magott magott closed this in 5d829b0 Aug 8, 2012

Fixed it now, will cut a new milestone later today


Again, many thanks for a really quick turn around on this. Much appreciated.


No worries. Also, I've done a new milestone release, 1.0.0.M3. Let me know if you get any new problems, or if your current problems are not fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment