Type |
Bug
|
Priority |
Major
|
Assignee | |
RedmineID |
488
|
Version |
tigase-server-5.1.0
|
Issue Votes (0)
Watchers (0)
Type |
Bug
|
Priority |
Major
|
Assignee | |
RedmineID |
488
|
Version |
tigase-server-5.1.0
|
Roster is updated with setData method which calls removeData, addData methods. It may happen that the first query is successful whereas the second fails. This may lead to data loss in database. In particularly this has happened for the roster once.
Therefore, it seems like a better way to handle it would be calling 'update' on the data and catch an exception if data does not exist to insert (addData).