Hi,
I have created a relationship between Contacts (many) to a custom module ‘Partners’ (one). In Studio>Layouts>Edit View the display name is ‘Partners’ and if I change it to ‘Partner Name’ (in the same way Accounts is shown as Account Name), once I Save & Deploy it reverts back to Partners. Is there any way to save the change without it reverting back?
Thanks
It could be a permission or ownership issue in your custom directory.
Please check directory custom/modules/Contacts/language is writable or not?
Hi,
Details below:
pwd: /var/www/suitecrm7/custom/modules/Contacts
ls -l: drwxrwsr-x 2 www-data www-data 4096 May 21 13:12 language
Do you have new entry in that file?
custom/modules/Contacts/language/en_us.lang.php?
It seems you have sticky bit in permission
blqt
6 September 2021 13:48
5
Unfortunately, I believe this is due to a bug in SuiteCRM.
Whatever label has been defined in the Extension framework cannot be changed in Studio due to the order of the language files loaded in LanguageManager.php
$lang_paths = array(
'modules/' . $module . '/language/' . $lang . '.lang.php',
'modules/' . $module . '/language/' . $lang . '.lang.override.php',
'custom/modules/' . $module . '/language/' . $lang . '.lang.php',
'custom/modules/' . $module . '/Ext/Language/' . $lang . '.lang.ext.php',
);
A PR fixing that was accepted, but was reverted later for some reason I can’t understand.
pgr
6 September 2021 17:46
6
Funny… Maybe we should ask why?
salesagility:hotfix
← Dillon-Brown:revert_load_language_files
opened 12:35PM - 27 Mar 19 UTC
## Description
Reverts changes made in #6946 pending further discussion.
#… # Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
### Final checklist
- [X] My code follows the code style of this project found [here](https://docs.suitecrm.com/community/contributing-code/coding-standards/).
- [ ] My change requires a change to the documentation.
- [X] I have read the [**How to Contribute**](https://docs.suitecrm.com/community/contributing-code/) guidelines.
<!--- If it reports back that there are problems, you can log into the Travis system and check the log report for your pull request to see what the problem was. --->