4teamwork / ftw.solr

Solr integration for Plone
5 stars 5 forks source link

Fix setting document_type back to None #177

Closed njohner closed 3 years ago

njohner commented 3 years ago

We were skipping attributes with a value of None when indexing data in solr. This prevents setting an attribute back to None. I don't think this was necessary for anything, at least I did not find any information as to why we were skipping these attributes.

Proof that the fix works in Gever: https://github.com/4teamwork/opengever.core/pull/6809

For https://4teamwork.atlassian.net/browse/CA-1336