Hello,

we have fixed a bug:

Bug number: 857 (HTML)
Description: Add Contact which is already available leads to rename

We have solved the problem by checking in the addContact() method whether
the roster already contains this contact. If so, it throws a
ContactExistsAlreadyException and if not it adds the contact to the
roster. The thrown exception is catched in
ContactSpecificBrowserFunctions.java where the JavaScript call for adding
is forwarding to StateFacade.addContact(). In the catch clause a prompt is
triggered: browser.run("SarosApi.trigger('showError', '" + ... + "')");

We have checked in our solution with gerrit.

Best regards,
Ahmet-Serdar Karakaya
Mehmet Bayram


------------------------------------------------------------------------------
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to