Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Today we can create a SolrInputDocument with null keys or values. We should validate them and throw IllegalArgumentExceptions
We should also validate ContentStreamLoader so that no null values creep in there .
Today this test would fail because SolrInputDocument is not null and also allows adding null / keys and values
doc = new SolrInputDocument(null , null); assertNull(d);
Attachments
Issue Links
- relates to
-
SOLR-12704 NPE in AddSchemaFieldsUpdateProcessorFactory
- Closed