• Andres Balas 9
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
While attempting to complete the Trailhead challenge (Snapshot # 1) I am getting an error "Failed to save undefined: Invalid definition for null:MyContactListController: null: Source" (Snapshot # 2) and cannot see why is it failing. In some article, I read that the issue could have been caused by the controller name so I change it but still no luck. Any help will be appreciated.

Snapshot # 1
User-added image
Snapshot # 2
User-added image

Lightning Component:
<aura:component controller="MyContactListController">
</aura:component>

Controller:
({
	myAction : function(component, event, helper) {
		var action = component.get("c.getContacts");
        action.setCallback(this, function(data) {
        component.set("v.contacts", data.getReturnValue());
        });
        $A.enqueueAction(action);
	}
})
While attempting to complete the Trailhead challenge (Snapshot # 1) I am getting an error "Failed to save undefined: Invalid definition for null:MyContactListController: null: Source" (Snapshot # 2) and cannot see why is it failing. In some article, I read that the issue could have been caused by the controller name so I change it but still no luck. Any help will be appreciated.

Snapshot # 1
User-added image
Snapshot # 2
User-added image

Lightning Component:
<aura:component controller="MyContactListController">
</aura:component>

Controller:
({
	myAction : function(component, event, helper) {
		var action = component.get("c.getContacts");
        action.setCallback(this, function(data) {
        component.set("v.contacts", data.getReturnValue());
        });
        $A.enqueueAction(action);
	}
})
Is anyone encountering this error :

"Challenge not yet complete... here's what's wrong: 
The 'Set Case to Escalated' Workflow field update action was not found."

Not sure what's going wrong, but the action sure is there !