POSTing no longer leaves blank spots if extended info is invalid

fixes SPOT-653

fixed PUTting with invalid extended info in the last commit, but
that broke POSTing, so this fixes both. also provided unit tests
for POSTing in addition to the PUT one in the last commit
Merge branch 'spot653'