Francesca Shiekh

"Uncaught TypeError: Cannot read property 'url' of undefined" when saving an account

Discussion created by Francesca Shiekh on Jun 30, 2014
Latest reply on Sep 3, 2014 by raja raja
Preface:
Playing with SugarCRM Professional 7.2

I followed the suggestions here ( Tips for reimplementation of SugarCRM v6.5.x customizations into v7.2? ) to import custom fields/logic.

I am using seed data at this point in time to get a handle on the structure/logic.
I changed the layout for Accounts Record View in Studio, adding my custom fields.

Loaded record view for a given record and tried to set two of the custom values that in our system are required (Sugar does prompt me for them if I don't add them).

The page stays "Saving..." forever and the console shows: "Uncaught TypeError: CAnnot read property 'url' of undefined:




And when looking at the details I see that the error is coming from ConsoleWriter in sugar_sidecar.min.js



I also moved 
custom/modules/Accounts/clients/base/views/record/record.php
and custom/Extension/modules/Accounts/Ext/Vardefs/vardef.ext.php 
to .tmp files and did a repair/rebuild and tried again without the customizations.

Did I do something wrong or did I stumble on a SugarBug?

thanks,
Francesca

Outcomes