-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle directories/files deleted on Crowdin #147
Comments
Another scenario - a file deleted on Crowdin:
No context is given. It would be useful if we detected this scenario in the UI and reported on which file could not be found - presenting an option to recreate it? |
In a scenario where a lot of fields were deleted on Crowdin (it's assumed they were created as a result of duplicated documents, see #201), the following large number of errors occured. The document updated all the same but the CMS indicates there was a problem.
|
If a collection directory is deleted on Crowdin, and a corresponding
CrowdinArticleDirectories
collection document exists for that directory, the following line will cause an error:payload-crowdin-sync/plugin/src/lib/api/payload-crowdin-sync/files.ts
Line 117 in f0769e1
Handle this type of scenario. Might be worth doing this once the plugin has been refactored to only use
nock
rather than a mock API.The text was updated successfully, but these errors were encountered: