/////////////////////////////////////////////////////////////////////////////////////////////////
// TODO (INF-1214): Make this code more robust to handle changes to the community that need to
// Caleb: this means change update to $set
/////////////////////////////////////////////////////////////////////////////////////////////////
DbManager.getSocial().getCommunity().update(query, community.toDb());
PersonHandler person = new PersonHandler();
person.addCommunity(personIdStr, communityIdStr, communityName);
rp.setData(community, new CommunityPojoApiMap());