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, 3 Feb 2016 15:06:10 +0000 (16:06 +0100)
commit84f2d44fe65eff9e1d1c4db5cdad922939325562
tree70ddfae224cc933098d49b5de81182b590053eb5
parent46c73243abd5d6408450a7b4e019ad6295a2028b
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