#2117 filter null identifier when writting to dist_reindex
Merge pull request #2183 from dotCMS/issue-2117-cant-permission-fileasset-st

#2117 filter null identifier when writting to dist_reindex