You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to update a document with one of its field as null, I get the following error stack trace:
TypeError: Cannot read property 'replace' of null
at Object.escapeXML (C:\project\node_modules\helios\lib\utils.js:14:15)
at solrDoc.toXML (C:\project\node_modules\helios\lib\document.js:179:23)
at solrClient.addDoc (C:\project\node_modules\helios\lib\client.js:127:36)
It seems to be an issue because the escapeXML gets called on null values as well.
Can we skip this escaping step for null values or make the escapeXML function to handle null values differently?
The text was updated successfully, but these errors were encountered:
When I try to update a document with one of its field as null, I get the following error stack trace:
It seems to be an issue because the
escapeXML
gets called on null values as well.Can we skip this escaping step for null values or make the
escapeXML
function to handle null values differently?The text was updated successfully, but these errors were encountered: