DawidPotgieter / Dynamics-CRM-Binary-Storage-Options

A Dynamics CRM plugin to transparently store attachment binaries outside CRM database. Azure Blob or File storage for instance.
GNU Affero General Public License v3.0
34 stars 15 forks source link

Plugin on create #19

Open niensui opened 5 years ago

niensui commented 5 years ago

Have you received any bug reports that sometimes the note is created in AzureBlob with the empty byte content? I tested and got mixed results, many files created successfully, but some are not.

The created on date = modified on date, so it seems happened on-create plugin not on-update.

DawidPotgieter commented 5 years ago

Hi there,

I have not experienced this or heard anyone mention it, and we're on many hundreds of gigabytes atm. Can you tell me which version of CRM you're using and a bit of information on how you're testing?

Cheers.

niensui commented 5 years ago

Thanks Dawid.

Version 1710 (9.1.0.3064) online. We are testing by creating a note (attaching a document) under case records. It worked most of the times, but there are files on Azure that has 1kb (blank) content. CRM documentbody is set to the empty byte ==A (size is 3).

We are not use encryption or compression.

Thanks

DawidPotgieter commented 5 years ago

I'm afraid I cannot replicate this issue, no matter what I try.

I'm testing on premise though, not the online version.

Going to label this as "Help Wanted" to debug, because I can't replicate the issue.

niensui commented 5 years ago

Not sure if the failure is from CRM or Azure.

Do you have any suggestion for verifying the Azure copy before deleting CRM copy? I can think of using size, but if compression or encryption is turned on, the size won't be the same.