asked on September 14, 2022

I've been doing some testing with briefcases, and found some behavior that is troubling.

If you take an entry that has a required field but no value (because it was made required after the entry had its metadata assigned) and manually import it into another repository where that field is required, you will get an error log that a required field has no value, and no metadata will be assigned to the entry. This is unfortunate, but at least there is an error.

If you try to import that same entry to the other repository using a BriefcaseImporter in the SDK, the entry gets no metadata, but no error is thrown at all. I even tried testing with the GetLastException() method, but it returned null. When doing a bulk import, it would be important to know which entries in the destination repository are supposed to have metadata but don't because of this issue so the metadata can be filled at another time.

Is there any way to get the SDK to throw an error for this, other than manually checking to see if the source entry had metadata and the destination entry didn't and throwing your own error?

0 0