In CRM 2013, I have a javascript that calls xrm.Utility.openEntityForm().
But I get an error:
Error: Cannot retrieve property length when it is undefined or null reference
Before the openEntityForm is called, a xrm.Page.data.save() is performed, and then a call to a custom Action type Workflow.
This is some of the details that is sent to Microsoft:
<PageURL>/main.aspx?etc=4210&extraqs=%3fAccount_3%3d%257b445E350B-5C88-E211-A69E-D067E5F2D6C6%257d%26Accountname_4%3dPER%2520OLSEN%26Regarding_2%3d%26etc%3d4210&pagemode=iframe&pagetype=entityrecord</PageURL>
<Function>anonymous(a,b){a[a.length]=b}</Function>
The jump to the new entity is performed if I ignore the errors.
I run CRM 2013 UR1.