Fixed a bug in transferDataFromPublication() when year is null