Fix for the validation of mandatory fields in the portal (reintegrated from trunk)

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0.1@3053 a333f486-631f-4898-b8df-5754b55c2be0