fixes #4472 Error in console when you try to add a new content
Merge pull request #4600 from dotCMS/issue-4472-error-in-console-when-you-try-to-add-a-new-content

fixes #4472 Error in console when you try to add a new content