Module Builder doesn't regenerate class #7555
Labels
Priority:Moderate
Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds
Type:Bug
Bugs within the core SuiteCRM codebase
Issue
When using the Module Builder, once a package has been published changing settings such as 'importable' doesn't get reflected in the published zip file.
The MBPackage::build function has the parameter 'clean' which is false by default and cannot find anywhere which either sets this to true or purges the build directory before publishing.
Expected Behavior
I would expect the build directory to be emptied before building the module.
Actual Behavior
Build directory is left with contents of previous build and existing files are left untouched.
Possible Fix
Remove the build directory at the start of MBPackage::build()
Steps to Reproduce
Context
Changes to modules cannot be done by non developers as changes require access to the filesystem to clean out existing builds.
Your Environment
The text was updated successfully, but these errors were encountered: