Skip to content
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

Spurious, unreadable ZIPs created when working with unpacked resources that contain nested folders #538

Open
davidmreed opened this issue Oct 9, 2018 · 0 comments

Comments

@davidmreed
Copy link

ForceCLI version: 0.25.0 (latest released)
Environment: Windows 7/Git Bash

When working with unpacked Static Resources, issuing force push -t StaticResource results in ForceCLI creating spurious ZIPs. For example, the following directory tree:

src/
    staticresources/
         Leaflet/
             ... various content files ...
             images/
                 ... various content files ...

results in the creation of three resource files:

  • src/staticresources.resource
  • src/staticresources/Leaflet.resource
  • src/staticresources/Leaflet/images.resources

All three resource files are invalid ZIPs according to Windows Explorer and 7zip. (I do not have access to a Linux machine at work to validate these files). References within the static resource on Salesforce return 404 errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant