Field changes made in Studio are ignored but exist in Vardefs

Hi. I suspect I’m making newbie errors. I’m just trying to assign a default value to the Events module’s decline and accept links. But the fields are still empty.

Also I added a “relate” type field in Events to the account module with the label “Client Account” but it keeps displaying as the literal “LBL_CLIENT_ACCOUNT”.

Quick Repair and Rebuild appears to have run smoothly.

DEFAULT VALUE ISSUE:

//file
./custom/Extension/modules/FP_events/Ext/Vardefs/sugarfield_decline_redirect.php

//code
$dictionary['FP_events']['fields']['decline_redirect']['default']='http://mydomain.com/my_invite_decline.php';

LABEL ISSUE:


//file:
./custom/Extension/modules/FP_events/Ext/Vardefs/sugarfield_client_account_c.php

//code:
$dictionary['FP_events']['fields']['client_account_c']['labelValue']='Client Account';

Hhmm I don’t know.

The QR&R should have carried those lines over to a file here

custom/modules/Accounts/Ext/Vardefs

You can check if it looks alright to you, but other than that I am a bit lost on this one. The Events/Delegates modules are a bit non-standard in SuiteCRM, sometimes they have particularities. If you can debug through the code with XDEBUG and an IDE you might find out the ultimate reason for this issue…

Solved. At some point I changed folder ownership. So, www-data wasn’t able to write all the Studio mods. I’m not sure why I didn’t see any permission errors in the suitecrm.log or the apache error log though. Anyway, I ran the following, then renamed the labels again. Now there all there. Thanks.

sudo chmod -R 775 cache custom modules themes data upload

Solved. At some point I changed folder ownership. So, www-data wasn’t able to write all the Studio mods. I’m not sure why I didn’t see any permission errors in the suitecrm.log or the apache error log though. Anyway, I ran the following, then renamed the labels again. Now they’re all there. Thanks.

sudo chmod -R 775 cache custom modules themes data upload