+ Start a Discussion
SF_MonkeySF_Monkey 

Uncaught Action failed: lightning:recordEditForm$controller$handleGetRecordCreateDefaults

Hello, 
I have come across few errors after Salesforce Spring '20 release. Our aura components were working just fine but after the production upgrade to spring '20, I am getting the following errors
User-added image

User-added image
Erors were not there before the production upgrade. I have made sure the profiles have a default record type and also checked that the aura component have record id specifed.
<aura:component implements="force:lightningQuickActionWithoutHeader,force:hasRecordId">

    	<!-- Modal Style -->
    <aura:html tag="style">
        .slds-modal__container{
        height : auto;
        width: 30%;
        max-width: 500rem;
       
       
        }
        .modal-body{
        height : 385px !important;
        max-height: 385px !important;
         
        }        
        .customFooter{
        display: inline !important;
        }
    </aura:html>
    		
			<!-- Handler and attributes -->
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
	
    <aura:attribute name="account" type="Object"/>
    <aura:attribute name="simpleAccount" type="Object"/>
    <aura:attribute name="accountError" type="String"/>
    
    
    <force:recordData aura:id="accountRecordLoader"
        recordId="{!v.recordId}"
        fields="Name, Disposition_Status__c"
        targetRecord="{!v.account}"
        targetFields="{!v.simpleAccount}"
        targetError="{!v.accountError}"
    />
    
   				 <!-- Display a header with details about the account -->
    <div class="slds-page-header" role="banner">
        <p class="slds-text-heading_label">{!v.simpleAccount.Name}</p>
        <h1 class="slds-page-header__title slds-m-right_small
            slds-truncate slds-align-left">No Answer No VM</h1>
    </div>

  				  <!-- Display the new engagement activity form -->
     
          <lightning:recordEditForm objectApiName="Engagement_Activity__c"
                                    onsuccess="{!c.handleSuccess}"
                                    recordTypeId="0120h000000CF6UAAW">
              				<!--Account Edit Form-->
                 <lightning:recordEditForm objectApiName="Account"
                              recordId="{!v.recordId}"
                              aura:id="fDate"
                             recordTypeId="0120h000000YQWe">       
         
            			  <!--Displayed Fields -->       
         <lightning:inputField fieldName="Call_Comments__c"/>     
         <lightning:inputField fieldName="Next_Follow_Up_Date__c"/>            
        <lightning:inputField fieldName="Contact__c"/>    
        
                 	    <!--Hidden Fields -->
        <div style="display: none">
            <lightning:inputField fieldName="Disposition_Status__c" aura:id="dispStat"/>
              </div>
      
              </lightning:recordEditForm>
              <div style="display: none">
              <lightning:inputField fieldName="Activity_Date__c" aura:id="actDate"/>
            <lightning:inputField fieldName="Account__c" value="{!v.recordId}"/>
            <lightning:inputField fieldName="Activity_Type__c" value= "Call" />
            <lightning:inputField fieldName="Call_Disposition__c" value= "No Answer No VM"/>
              </div>
              
      						  <!-- Footer of modal -->
           <footer class="slds-modal__footer">
        <lightning:button label="Save" type="submit"  onclick="{!c.handleSaveEA}" variant="brand" class="slds-m-top_medium"/>
        <lightning:button label="Cancel" onclick="{!c.handleCancel}" variant="brand" class="slds-m-top_medium"/>    
        </footer>
        
    </lightning:recordEditForm>
   
</aura:component>

Controller
 
({
    doInit: function(component, event, helper) {
        var today = $A.localizationService.formatDate(new Date(), "YYYY-MM-DD");
        component.find('actDate').set('v.value', today);
    },

    handleSaveEA: function(component, event, helper) {
         if(component.get('v.simpleAccount.Disposition_Status__c') == 'Cold Call Not Contacted'){
            component.find('dispStat').set('v.value', 'Locating DM');
        }
       component.find('fDate').submit();   
    },
	
    handleSuccess : function(component, event, helper){
        window.location.reload();
    },
    
    handleCancel: function(component, event, helper) {
        $A.get("e.force:closeQuickAction").fire();
    },
})

Any help will be approciated​​​​​​​