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

findDescendantModels bug with items _children #2180

Closed
oliverfoster opened this issue Jul 24, 2018 · 1 comment
Closed

findDescendantModels bug with items _children #2180

oliverfoster opened this issue Jul 24, 2018 · 1 comment
Assignees
Labels

Comments

@oliverfoster
Copy link
Member

oliverfoster commented Jul 24, 2018

Subject of the issue

findDescendantModels is attempting to search components with items models. itemModel doesn't have a getChildren() function compatible with the findDescendantModels function and so an error is thrown.

@moloko
Copy link
Contributor

moloko commented Sep 3, 2018

done in 5a58569

@moloko moloko closed this as completed Sep 3, 2018
jamesrea83 pushed a commit to jamesrea83/adapt_framework that referenced this issue Sep 25, 2018
…arning#2181)

* issue/adaptlearning#2180 Return if no defined _children type

* issue/adaptlearning#2180 Refactored findDescendantModels & updated to account for contentObjects

* issue/adaptlearning#2180 Removed unnecessary comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants