Fixed issue with metadata writing - in some cases it could fail due to fields not being set.


git-svn-id: http://svn.montala.net/svn/resourcespace@4231 c08608d7-6e46-0410-86ca-f2a6f1370df5