Member of public group is not able to add to his roster contact that does not belong to public group

Description

1) Create usera and userb
2) Create public shared group and set usera as a member
3) log in as usera
4) Add userb to the roster
5) Step 4 will fail with the following exception when instead it should be a valid action

2006.07.13 13:18:42 [org.jivesoftware.wildfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.java:119)
] Internal server error
org.jivesoftware.wildfire.auth.UnauthorizedException: org.jivesoftware.wildfire.user.UserNotFoundException: userb@gato.dyndns.org
at org.jivesoftware.wildfire.handler.IQRosterHandler.manageRoster(IQRosterHandler.java:221)
at org.jivesoftware.wildfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.java:104)
at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48)
at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268)
at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96)
at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67)
at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:247)
at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51)
at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:213)
at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156)
at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62)
at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jivesoftware.wildfire.user.UserNotFoundException: userb@gato.dyndns.org
at org.jivesoftware.wildfire.roster.Roster.updateRosterItem(Roster.java:331)
at org.jivesoftware.wildfire.handler.IQRosterHandler.manageRoster(IQRosterHandler.java:209)
... 12 more

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak