<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error on OData]]></title><description><![CDATA[<p>We just switched from using fs storage provider to using PostgreSQL.  We reimported all of our data and now we are getting this error when sending an odata query</p>
<p>Query:<br />
/odata/folders?$filter=name%20ne%20%27tags%27%20and%20name%20ne%20%27shared%27</p>
<p>Error:<br />
<code>{&quot;error&quot;:{&quot;code&quot;:500,&quot;message&quot;:&quot;Cannot read properties of undefined (reading 'toNode')&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading 'toNode')\n at normalizeNode (/app-rprt/node_modules/jsreport-sql-2/lib/node/where.js:27:18)\n at constructor.add (/app-rprt/node_modules/jsreport-sql-2/lib/node/where.js:51:12)\n at constructor.where (/app-rprt/node_modules/jsreport-sql-2/lib/node/query.js:157:22)\n at module.exports (/app-rprt/node_modules/@jsreport/odata-to-sql/lib/filter.js:102:16)\n at module.exports (/app-rprt/node_modules/@jsreport/odata-to-sql/lib/query.js:66:11)\n at Object.query (/app-rprt/node_modules/@jsreport/odata-to-sql/lib/transformer.js:46:14)\n at Cursor.toArray (/app-rprt/node_modules/@jsreport/sql-store/lib/sqlProvider.js:22:29)\n at replay (/app-rprt/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:53:21)\n at /app-rprt/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:60:18\n at runMicrotasks (&lt;anonymous&gt;)&quot;,&quot;target&quot;:&quot;/folders?$filter=name%20ne%20%27tags%27%20and%20name%20ne%20%27shared%27&quot;,&quot;details&quot;:[]},&quot;innererror&quot;:{}}</code></p>
<p>Before we rollback, could this be an issue with the provider or do you think it's an issue with our data somehow?</p>
]]></description><link>https://forum.jsreport.net/topic/2689/error-on-odata</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 07:31:58 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2689.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Jan 2023 23:25:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error on OData on Invalid Date]]></title><description><![CDATA[<p>We just switched from using fs storage provider to using PostgreSQL.  We reimported all of our data and now we are getting this error when sending an odata query</p>
<p>Query:<br />
/odata/folders?$filter=name%20ne%20%27tags%27%20and%20name%20ne%20%27shared%27</p>
<p>Error:<br />
<code>{&quot;error&quot;:{&quot;code&quot;:500,&quot;message&quot;:&quot;Cannot read properties of undefined (reading 'toNode')&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading 'toNode')\n at normalizeNode (/app-rprt/node_modules/jsreport-sql-2/lib/node/where.js:27:18)\n at constructor.add (/app-rprt/node_modules/jsreport-sql-2/lib/node/where.js:51:12)\n at constructor.where (/app-rprt/node_modules/jsreport-sql-2/lib/node/query.js:157:22)\n at module.exports (/app-rprt/node_modules/@jsreport/odata-to-sql/lib/filter.js:102:16)\n at module.exports (/app-rprt/node_modules/@jsreport/odata-to-sql/lib/query.js:66:11)\n at Object.query (/app-rprt/node_modules/@jsreport/odata-to-sql/lib/transformer.js:46:14)\n at Cursor.toArray (/app-rprt/node_modules/@jsreport/sql-store/lib/sqlProvider.js:22:29)\n at replay (/app-rprt/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:53:21)\n at /app-rprt/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:60:18\n at runMicrotasks (&lt;anonymous&gt;)&quot;,&quot;target&quot;:&quot;/folders?$filter=name%20ne%20%27tags%27%20and%20name%20ne%20%27shared%27&quot;,&quot;details&quot;:[]},&quot;innererror&quot;:{}}</code></p>
<p>Before we rollback, could this be an issue with the provider or do you think it's an issue with our data somehow?</p>
]]></description><link>https://forum.jsreport.net/post/11642</link><guid isPermaLink="true">https://forum.jsreport.net/post/11642</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error on OData on Invalid Date]]></title><description><![CDATA[<p>in looking at <a href="https://github.com/jsreport/jsreport/blob/master/packages/odata-to-sql/lib/filter.js" rel="nofollow">https://github.com/jsreport/jsreport/blob/master/packages/odata-to-sql/lib/filter.js</a><br />
it seems that &quot;ne&quot; notEqual isn't in the list of supported operations.</p>
]]></description><link>https://forum.jsreport.net/post/11643</link><guid isPermaLink="true">https://forum.jsreport.net/post/11643</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error on OData on Invalid Date]]></title><description><![CDATA[<p>The <code>ne</code> isn't supported. I will add it to the next release.<br />
The fs provider doesn't fail but doesn't support <code>ne</code> and doesn't filter as well.</p>
]]></description><link>https://forum.jsreport.net/post/11662</link><guid isPermaLink="true">https://forum.jsreport.net/post/11662</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>