ideaconsult / Toxtree.js

http://ideaconsult.github.io/Toxtree.js/
2 stars 3 forks source link

Updating bundle fields #88

Closed vedina closed 9 years ago

vedina commented 9 years ago

If a field is not to be updated, the server expects null, not "". The value "" is considered valid and will be used to update the current value.

When updating bundle fields via PUT, please do not send empty fields contents, if these are not the intended values.
The reason updating the license field fails sometimes is that the server receives "" for the title field, and tries to update the bundle name. However, the bundle name is unique, and if there is another bundle with an empty name, the entire update operation will fail.

vedina commented 9 years ago

Server side error due to bundle class initialisation . Fixed http://sourceforge.net/p/ambit/code/6230 , deployed.