[TECH SUPPORT] LPS-40651 Move validation after generating new articleId

Hi Tamás,

Resending the pull based on your suggestion.

Jenkins link: [http://fix-packs/jenkins/job/testing-akosthurzo-liferay-portal/56/](http://fix-packs/jenkins/job/testing-akosthurzo-liferay-portal/56/)

Please review the changes.

Thanks,
Ákos