fixes #5233 CommensAction replace getField with getFieldVar
Merge pull request #5271 from dotCMS/issue-5233-CommensAction-replace-getField-with-getFieldVar

fixes #5233 CommensAction replace getField with getFieldVar
Merge branch 'master' of https://github.com/dotCMS/dotCMS into issue-5257-deal-hibernate-autoflush
#5257 disabled updateOnDirtyObjectWhenFlush fixed updateOnDirtyObjectWhenQuery