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

Error when expanding to multilevel models i.e ?$expand=Datastreams/Things #200

Closed
albertopq opened this issue Dec 20, 2016 · 4 comments
Closed
Assignees
Labels

Comments

@albertopq
Copy link
Collaborator

This feature is not implemented yet, but it should return an error. At the moment is timing out.

@albertopq albertopq self-assigned this Dec 20, 2016
@albertopq albertopq added the bug label Dec 20, 2016
@albertopq
Copy link
Collaborator Author

Seeing this in the console:

(node:85290) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'associations' of undefined

@isabelrios
Copy link
Collaborator

Please see issue #198 it also appears there, the last two logs shown in the server logss

@albertopq
Copy link
Collaborator Author

Thanks @isabelrios ! That is a different one, though. That warning is being shown because of the way we are running the promises. It shouldn't affect the behavior.

@isabelrios
Copy link
Collaborator

Just to be sure :) I did not mean the warning in the title, but the same error you have seen, that is appearing in travis:
node:2253) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 226): TypeError: Cannot read property 'associations' of undefined

(node:2253) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 227): TypeError: Cannot read property 'associations' of undefined

albertopq pushed a commit to albertopq/sensorthings that referenced this issue Dec 20, 2016
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