It's the same with me. I believe it is a bug, I do not know if there is another way to fix.
But, I edited the source and recompiled. I set the displayName as the group name and saved in the database when it save in the cache (groupCache). Not sure if this can damage something else.
I changed the class:
/ Openfire / src / java / org / jivesoftware / openfire / group / GroupManager.java
Adding the method:
publicvoid setGroupProp (Group group) { group.getProperties().put("sharedRoster.showInRoster", "onlyGroup"); group.getProperties().put("sharedRoster.displayName", group.getName()); group.getProperties().put("sharedRoster.groupList", ""); }
And calling it here:
setGroupProp (group); / / Since the group Could be created by the provider, add it again possible groupCache.put(group.getName(), group);
and here:
setGroupProp (newGroup); / / Update caches. groupCache.put(name, newGroup);