Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: <...> had no action handler for: infinityLoad #117

Closed
teckays opened this issue Dec 13, 2015 · 5 comments
Closed

Uncaught Error: <...> had no action handler for: infinityLoad #117

teckays opened this issue Dec 13, 2015 · 5 comments

Comments

@teckays
Copy link

teckays commented Dec 13, 2015

This error is thrown when the infinity-loader component enters the view.

DEBUG: -------------------------------
DEBUG: Ember             : 2.2.0
DEBUG: Ember Data        : 2.2.1
DEBUG: jQuery            : 2.1.4
DEBUG: -------------------------------
@davidgoli
Copy link
Collaborator

@teckays have you mixed in the InfinityRoute mixin to one of the parent action handlers? This is the default action that Ember Infinity sends, you'll need to handle it somewhere in your code if you want to use it.

@teckays
Copy link
Author

teckays commented Dec 13, 2015

@davidgoli I have mixed it in my index route.

import Ember from 'ember';
import InfinityRoute from "ember-infinity/mixins/route";

export default Ember.Route.extend(InfinityRoute, {

});

Does the mixin handle this action or I should handle it myself?

@teckays
Copy link
Author

teckays commented Dec 13, 2015

OK, the problem might be that I've put {{infinity-loader infinityModel=items}} inside a custom component and did not bubble this action up with this.sendAction(). No I have moved it inside my templates/index.hbs, the error is gone, however the results are not fetched when hitting the end of the page. I only have the initial 20 results and that's it. It only prints Infinite Model Entirely Loaded. on the page.

@teckays teckays closed this as completed Dec 14, 2015
@hhff
Copy link
Collaborator

hhff commented Dec 14, 2015

@teckays - please be sure to follow the readme carefully - your latest issue is in your server's response (in the meta payload)

@NvnTiwari
Copy link

Hi, Getting Uncaught error "had no action handler for *" {{ action "doSearch" "ab"}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants