0011562: adding two new tasks fails when saving lead
authorsstamer <s.stamer@metaways.de>
Tue, 19 Jan 2016 15:12:34 +0000 (16:12 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Wed, 20 Jan 2016 14:26:07 +0000 (15:26 +0100)
commitb1f62c95960e033c530e38f9f1f1a579cdb1974b
tree33782fc01c6ceb7afdae140ba2d5e644340bbcdd
parentedf0da560b66b44e510be758b8116f4687c2e081
0011562: adding two new tasks fails when saving lead

* Tinebase_Relation - issue creating two new relations of the
 same type

related_id was still empty, yet part of a unique key. That lead to
collision
fixed it by assigning temporary uid

https://forge.tine20.org/view.php?id=11562

Change-Id: I73313d742d6d8bb171d7df5c5800fb8990cd793f
Reviewed-on: http://gerrit.tine20.com/customers/2597
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
tests/tine20/Crm/JsonTest.php
tine20/Tinebase/Relations.php