sealcode / sealious

An extensible, declarative node framework
25 stars 2 forks source link

Issue#257 error on put for bad #258

Closed kuba-orlik closed 8 years ago

kuba-orlik commented 8 years ago

In case of some of the body variable attributes in the ResourceType.encode_field_values method being set to undefined, like so:

body = {foo: undefined}

the encode_field_values method executed FieldType.encode_values with undedined as a parameter. I've added a check in that method that prevents that from happening.

This should only be merged to 0.6 branch