Additional validations when updating YAML files
By Edouard on 22 mars 2023
We’ve released an updating to our YAML file handler. When updating a YAML file, the YAML file handler now checks if the YAML file has the same flavour than the existing file. For instance, if you uploaded a classic YAML file and then update it with a Hugo YAML file, you will get an error message and the file won’t be imported.
In case of using a classic YAML file, the system now also checks if the language root corresponds to the file language. For instance, updating an English file with a file using the fr:
language root will raise an error explaining the file uploaded is not correct and the file won’t be imported.