Dear all,
i have made several customizations using Studio, iām trying to export the customizations in order to install them in another instance.
When i click on Export Customizations i see all the as undefinied.
Why this happens?
Thanks and regards
Please search the Forum on how to reset permissions. After you have set your permissions correctly go to Admin->Repair->Quick Repair and Rebuild
Possibly you may also have to execute other repairs present under Admin->Repair
After all the repairs, reset permissions again.
Please report if the undefined have disappeared.
I set the permissions:
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php
Then i did all Admin->Repair i found.
I resetted the permissions again, but same issue.
When i try to export customizations i see all as undefinied.
Thanks for you help
I thought that this problem had been sorted out.
Have a look here:
https://suitecrm.com/forum/suitecrm-7-0-discussion/6952-export-customizations#25069
However, be careful if you try to repair it. Take a backup of all files you touch to avoid overwriting useful files or information. That patch was for an older version. In theory it still works but caution is always compulsory.
Maybe my patch doesnāt cover all the necessary labels for export, but I believe that, by seeing the patch, you should be able to reconstruct the missing items too.
I just tried only the first part: $return[$value][$va] = āva=[ā.$va .ā] - ā . $mod_strings[āLBL_UNDEFINEDā];
Now i see:
va=[AOS_Invoices] - undefined
va=[Accounts] - undefined
va=[Bugs] - undefined
va=[Calls] - undefined
va=[Campaigns] - undefined
va=[Cases] - undefined
va=[Connectors] - undefined
va=[Contacts] - undefined
va=[Contracts] - undefined
va=[DocumentRevisions] - undefined
va=[Documents] - undefined
va=[Emails] - undefined
va=[Home] - undefined
va=[KBDocuments] - undefined
I think itās different from you caseā¦
What do you think about this?
Thanks
what version do you have and what OS?
I had 7.7.8 and i upgraded to 7.8.1, OS is Debian 8 64bit
I have created a new empty installation of SuiteCRM with a new database then i tried only to do Export Customizations but i found the same issue.
I tried to reset the permissions and do the possibile Repairs and reset again the permissions but same isssue.
I think iāts a bug of version 7.8 because with version 7.7.9 it works properly.
Thanks
You are right. I checked with version 7.8 and all labels are āundefinedā.
So I investigated further. The file modules/ModuleBuilder/MB/MBPackage.php has been heavily rewritten and a bug was introduced at line 808.
You should modify that line from:
if (!$module) {
To the correct:
if ($module != false) {
If you do this you will see the correct values.
Additionally, you may implement the patch I showed you to get rid of all the remaining āundefinedā.
I have raised an issue on gitHub wit the complete solution.
https://github.com/salesagility/SuiteCRM/issues/3081
I added a Pull Request on gitHub with the corrections to solve the issue:
https://github.com/salesagility/SuiteCRM/pull/3086
Thank you very much for your help!