Salesforce generates -meta.xml files for Document folders. If a file inside the folder is included in the diff, the folder will be included in the delta, but the folder metadata file will not be included. This causes the deployment to fail.
The delta generation should check for -meta.xml files for the parent directories it creates, and if they exist, pull these into the delta too.
Salesforce generates
-meta.xml
files for Document folders. If a file inside the folder is included in the diff, the folder will be included in the delta, but the folder metadata file will not be included. This causes the deployment to fail.The delta generation should check for
-meta.xml
files for the parent directories it creates, and if they exist, pull these into the delta too.