0009966: file already exists when saving record without attachment
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 5 Jun 2014 12:44:03 +0000 (14:44 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 4 Sep 2014 09:26:36 +0000 (11:26 +0200)
commitbb3c5d0634528fda480e0bdcac6b47218497fa05
tree5907a6cc9ca34ead2d70bd482fc0f1a9b64d18ba
parentd7e45bd09755d8910e11f67d0a37aa0f136d5e2c
0009966: file already exists when saving record without attachment

* fixes the problem by checking for empty names
* TODO: $attachmentDiff->added diff should not return something when
record has no attachments!

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

Change-Id: I58a8abd2fc443456a60114b415da8314e81c1f82
Reviewed-on: http://gerrit.tine20.com/customers/736
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
tine20/Tinebase/FileSystem/RecordAttachments.php