creating packages without optional values does not work

Description

Adding a package fails, if fields with optional values have been selected, but no value is written into the input field.

Errors from howl log:
{{
2017-04-27 10:53:12.590 [error] <0.12562.0>@wiggle_rest_h:write1:382 [ff922a9c-03fa-44fe-9359-18ea04cbacd4] [schemaackage_create] Malformated data: [{data_invalid,#{<<"minimum">> => 0,<<"type">> => <<"integer">>},wrong_type,null,[<<"zfs_io_priority">>]}]
2017-04-27 11:17:23.061 [error] <0.17739.0>@wiggle_rest_h:write1:382 [ff97e872-6ddd-4fbf-9971-708f57ccd4de] [schemaackage_create] Malformated data: [{data_invalid,#{<<"minimum">> => 0,<<"type">> => <<"integer">>},wrong_type,null,[<<"blocksize">>]}]
}}

Environment

FIFO AIO zone on smartos Host

Project-FiFo - 0.9.1
Service State Installed Available
snarl online 0.9.1 0.9.1
howl online 0.9.1p2 0.9.1p2
sniffle online 0.9.1 0.9.1
cerberus - 0.9.1 0.9.1

Status

Assignee

Heinz N. Gies

Reporter

Jonas Schwartze

Labels

None

Components

Fix versions

Affects versions

Priority

Medium
Configure