Changed putAction(..). Due to a wrong behaviour on Travis-CI (null values are stored in database fields even if it's defined as NOT NULL) NOT NULL fields must be validated manually in the controller