SuiteCRM 7.3 Custom Module Deployment Error

When attempting to deploy a custom module built via Module Builder, I get an error due to syntax in the vardefs.php

The line it complains about is:

‘inline_edit’=>,

What it is expecting is:

‘inline_edit’=>true, or presumably ‘inline_edit’=>false

Does anyone know a resolution for this? I get the same thing when I Publish/Export Custom Modules.

Hi,

This will be resolved in future bugfix releases but for now;
If you can make your way to: Modules/Modulebuilder/tpls/MBModule and open the file vardef.tpl

At around Line 42/43 there should be:
‘audited’=>{{$class.audited}},
‘inline_edit’=>{{$class.inline_edit}},

Please change this to:
‘audited’=>{{$class.audited}},
‘inline_edit’=>true,

Thanks, John

1 Like

Tried this out and it solves the problem. Thanks!