field variables should allow empty values on instantiation
There is no reason field variables should not allow a key with an empty or null value when instantiated. Maybe we prevent the save, but not on instantiation.
PR master: https://github.com/dotCMS/core/pull/11851
Passed QA. Verified that field variables cannot save a key with empty/null values. Message on logs when attempted to save a field variable with empty value : ERROR factories.FieldFactory: FieldVariable.value cannot be empty
Response from REST when attempted to save a field variable with empty value: { "message":"FieldVariable.value cannot be empty" }
Tested locally using the following environments: Upgrade from dotcms_3.6 with client dataset (db and assets) to master branch / commit df7ff50790f273ac67afb31fe1a376c9feecbd0c Ubuntu 14.04.1 / Postgres 9.3.5 / Chrome v54.0.2840.98 / Tomcat 8 / Java 8