Closed ian-craig closed 6 years ago
Ian, thanks for reporting this issue. Your assumption was correct, we check whether path exists if the value is not null, ignoring the selected metadata option. For now, please clear the metadata path when you're not intending to update metadata.
This has been resolved with pull request #49
Result: Deployment fails because metadata directory doesn't exist
Expected: Don't check if the directory exists because it's not relevant. Also, this path is hidden in my task editor UI so it's very confusing where the task is getting this path from.
Logs:
It looks like if before changing the metadata option to "No update" I clear the metadata path, this problem doesn't happen. I'm guessing the bug is you have
but should have
Either that, or the editor should remove the content of the Metadata root folder field when it hides the field.
I haven't tested saving the task directly in the main editor, it may have the same issue.