Upgrade: Custom module names disappear after rename modules

Hello guys,

We’ve upgraded our SuiteCRM from a really old version to the latest LTS version.

After the upgrade we’ve realized that if we go to rename our custom modules, all the custom modules we have lose their names so they don’t appear anywhere.

Besides this, some other modules don’t show correctly either, ex: the Users module doesn’t show the buttons on the left, so we are not able to create new users unless we go manually to the corresponding url.

We have tried with a “Repair and rebuild” but the only solution we have found is create or modify the file en_us.lang.php, adding manually all the modules with the names we want for them. By doing this everything shows correctly.

Can you help us with this? It is really annoying copy/modify the file every time we want to make changes on the modules.

Thanks in advance.

Hi,
I do suggest another option for you. May be there come more bugs in the future.
What if you use LTS version core files and put your old CRM’s CUSTOM and MODULE folder, and then then try to repair. Also don’t forget to put the code in CORE files if you have something changed in OLD CRM.

Thanks

Hi,

Thanks for the reply, we will try it in the testing server.

What we have noticed is that the way the en_us.lang.php is built now, is different than the previous one (Ex: in the old en_us.lang.php the values of the moduleList key were assigned 1 by 1, and in the new one it’s all assigned in a single array declaration). That’s why the modules are not being named, the array declaration is overwriting all the values previously declared, but not all modules appear in this declaration.