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

Fix bug in server where creating an object will populate optional resources. #105

Merged
2 commits merged into from
Apr 5, 2016

Conversation

seank-img
Copy link
Contributor

Fixed a bug in an if statement that causes optional resources to be populated with "sensible default values" in a lwm2m write operation. This also includes a test case that highlights the issue.

@seank-img seank-img added the bug label Apr 5, 2016
@seank-img seank-img added this to the 0.1.6 milestone Apr 5, 2016
…ources

Signed-off-by: Sean Kelly <Sean.Kelly@imgtec.com>
@seank-img
Copy link
Contributor Author

Pyhton tests are failing and I'm not sure why...

Signed-off-by: Sean Kelly <Sean.Kelly@imgtec.com>
@seank-img
Copy link
Contributor Author

Seems like the tools tests were using an optional resource for creating an object - optional resources should not be created unless present?

@DavidAntliff
Copy link
Collaborator

+1

@ghost ghost merged commit c9f69f2 into ConnectivityFoundry:master Apr 5, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants