Hello everyone,
I have a rather strange problem with SuiteCRM 8, which I believe is related to the cache. I create a module using the Module Builder, and before deploying the package, any edits to the editview metadata are applied correctly. However, when I go back to the Module Builder and modify the edit layout, it applies the changes and saves them in:
public/legacy/custom/modulebuilder/packages/PACKAGE_NAME/modules/MODULE_NAME/metadata/editviewdefs.php
When I deploy again, it moves them to:
public/legacy/modules/KEY_PACKAGE_MODULE_NAME/metadata/editviewdefs.php
In theory, it moves the files correctly. Then I do a quick repair to clear the cache, but when I go to the editview, it now shows the default view of the module. I don’t have anything created in the path:
public/legacy/modules/KEY_PACKAGE_MODULE_NAME
since the changes are made from the Module Builder, not from Studio. I also deleted the cache folder directly, but nothing changes.
In the console, I get the following error: node_modules_angular…1a513b7cb4915e.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'panelDefault')
. However, this error appears in all custom modules, and I also get it in the first deploy, which works fine, so I don’t think it’s related to the current issue. Additionally, the SuiteCRM log doesn’t show anything relevant.
I appreciate any help, thank you very much.
I have suitecrm set up in docker with the bitnami image: https://hub.docker.com/r/bitnami/suitecrm
and I created a local volume which points to the suitecrm project
SuiteCRM: 8.6.2
PHP: 8.1.29
MariaBD: 11.4.3