Cases View "internal update" checkbox: cannot set default value to "on"

Could someone please help me out with this: I try to set the default option for the “internal update” checkbox to “true” or “on” but in studio after safing this option it turns out to be unchanged.
All other Fields can be changed fine.
SuiteCRM 7.2.2 is in use currently. Would 7.3 help?

kind regards,
Thomas.

anyone here reading this?

Since this tool sends Emails out without us having any chace to disable it we wanted to check the “internal” bitten by default, wich is somehow not possible due to a bug I cannot fix myself.

This is my first question to support and I receive there isn’t any. Poor.
:frowning:

So I think this SuiteCRM thing will go down the drain with so many bugs well documented and not fixed in the releases. I feel sorry for that since it seemed to be such a good start.

Hi,

We have logged this as an issue on Github: #396

As a temporary fix;

If you navigate to the folder: /custom/modules/Cases/Ext/Vardefs/
Open the file vardefs.ext.php.

At around line 115 you will see:

$dictionary["Case"]["fields"]['internal'] =
            array(
                'name' => 'internal',
                'source' => 'non-db',
                'vname' => 'LBL_INTERNAL',
                'type' => 'bool',
                'studio' => 'visible',
            );

Please add

'value' => true

after

'studio' => 'visible' 

so it becomes:

$dictionary["Case"]["fields"]['internal'] =
            array(
                'name' => 'internal',
                'source' => 'non-db',
                'vname' => 'LBL_INTERNAL',
                'type' => 'bool',
                'studio' => 'visible',
		'value' => true,
            );

And do a Quick Repair/Rebuild.

However, if you re-save the Internal Update field in Studio you will have to do this process again.

Regards, John

Hello John,

thank you for the suggestion, it did not work but I was able to see your point and put it into custom/Extension/modules/Cases/Ext/Vardefs/cases_aop_case_updates.php

This way it works now in the Edit screen. BIG Thank you!

Could you maybe please hint me tho the screen before that as we now do inline editing and update the cases before the editing view?

Kind regards,
Thomas.

Hi Thomas,
I am having this same problem and cannot get it to work. Would you be able to paste your code here?
Thanks,
Dianna

Hi Dianna,

I am sorry but the file I patched does not exist anymore in the current version 7.6.4 - I believe the error is fixed there generally anyway. What version are you using?

take care,
Thomas.

I am using 7.5.3. Thanks for the response and letting me know that it is fixed in the latest version.
Dianna

in suitecrm 7.7.4

go to studio > cases > fields > double click on internal > check the “Default value” check box then save and deploy.

if studio not working in your version:
/modules/AOP_Case_Updates/Case_Updates.php

alter line 301 to to force the case update to be set to internal
$internalChecked = “checked=‘checked’”;

thank you! works now. :slight_smile:

kind regards,
Thomas