Author avatar for jason

We Automatically Check For Missing Files

Posted by on January 5, 2016

Whenever a developer uploads a file to the SuiteCRM Store we do extensive scanning to make sure everything is in place and ready to install for you. After all, the reason we are here is to make the end user experience as simple and smooth as possible. One of those automatic scans is a check to ensure that all the necessary files are included in the add-on's zip so that you aren't left with an add-on that can't be installed.

As a developer, I've done this many times myself. You get done with a new add-on, create the manifest, and package up all the needed files...or so you think. You release the zip for download and soon enough you get an email about how the add-on failed to install. Usually it includes an error like:

Failed to copy cache/upgrades/temp/uJ5Yxy/MyModule_Zip/custom/modules/MyModule/views/view.edit.php to custom/modules/MyModule/views/view.edit.php

Drats! Of course. I thought I could do a quick, simple fix without properly testing the install process for the hundredth time. Well with the new addition to the scanner I'd now get the follow message upon uploading the file BEFORE anyone were to download and install it:

The following files defined in the manifest do not exist in the zip: 

This new addition provides even more backing to our 100% Satisfaction Guarantee. Have ideas on other ways to avoid pain points or simplify the distribution process?

Like this post?

We'll send you an email once a month with the latest posts.