- Product: Product
- Product Version: August 2016 +
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
When uploading a customized customization package, an error message appears in the back office:
Validation error: Zip file must have a root directory with the name of the view code
Reason: the file was zipped using the Windows>>Sent To option.
A workaround: use a different compression tool such as 7zip or Winrar.
If you added images to the folder you should use a tool that doesn't automatically add Thumbs.db file to any folder containing images, as this also might cause issues.
MacOS users have reported a problem where zipping files using the "Compress" feature automatically includes the .DS_Store file, which leads to a rejection of the package.
The zip can be created using terminal with this syntax:
zip -r foo.zip
foo -x "*.DS_Store"
(where 'foo' is the folder to zip)
This will eliminate the .DS_Store file.
- Article last edited: 30-Oct-2020