Fix wrap registered object issue


When wrapping a registered object the code generated a new
ID for an already known object. That new ID wasn't stored
but returned to the client including the objects information.
That resulted in a new created object on client side but
the remote object (on the server) was not accessible.

This patch fixes the issue by just returning the known ID
of a known object. Because the client already has a local
representation of that object it does not have to unwrap
the object description.

Change-Id: I31964823c84c84fd7ebce4386865c18fb5518be7
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
commit368adbf8e75c00712c7a30eb6b8d7a7e175e89d7
parentc3bcbd1dcd8df8c93924853308d7f2ec95aba825
authorLutz Schönemann <lutz.schoenemann@basyskom.com>
committerTony Sarajärvi <tony.sarajarvi@digia.com>
commit timeFri, 15 May 2015 17:58:17 +0000