I have the following recordEditForm component which does not use
<aura:component description="ErrorTesting" implements="flexipage:availableForAllPageTypes" access="global"> <lightning:recordEditForm objectApiName="TestChild__c"> <lightning:messages/> <lightning:inputField label="TestMaster" fieldName = "TestMaster__c"/> <lightning:button variant="brand" type="submit" name="save" label="Save" /> </lightning:recordEditForm>
However, when the component is saved, the following error message appears:
INVALID_FIELD: LastViewedDate != null ORDER BY LastViewedDate DESC LIMIT 6 OFFSET ^ ERROR at Row:1:Column:90 No such column 'LastViewedDate' on entity 'TestMaster__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
Any insight as to why I would get this error even though I'm not referencing this field would be helpful. It may be useful to note that "TestMaster__c" is a master-detail field.