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

breeze.labs.dataservice.sharepoint - nav properties #26

Open
dranovsk opened this issue Sep 23, 2015 · 0 comments
Open

breeze.labs.dataservice.sharepoint - nav properties #26

dranovsk opened this issue Sep 23, 2015 · 0 comments

Comments

@dranovsk
Copy link

Navigation property entity that has it's own navigation properties is not being instantiated.

Please consider changing breeze.labs.dataservice.sharepoint.js line 318 from:

if (entityType._mappedPropertiesCount <= Object.keys(node).length - 1) {

to

if (entityType._mappedPropertiesCount - entityType.navigationProperties.length <= Object.keys(node).length - 1) {

otherwise setNpValue returns null pointer error accessing entityAspect.

Thank you!

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

1 participant