<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 4.29 New Error: No query engine defined in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1390476#M83844</link>
    <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;. I looked at the stack trace and found which part of our app generates this error. We add a &lt;FONT face="courier new,courier"&gt;StreamLayer&lt;/FONT&gt; to the map, and then we call &lt;FONT face="courier new,courier"&gt;queryLatestObservations&lt;/FONT&gt; on its &lt;FONT face="courier new,courier"&gt;LayerView&lt;/FONT&gt;. If the stream layer is visible, I get features and no errors. If the stream layer is not visible but I use 4.28, I get zero features and no errors. The problem is when the stream layer is not visible and I use 4.29. Then I get the "No query engine defined" error.&lt;/P&gt;&lt;P&gt;Here's a pen that demonstrates the behavior:&amp;nbsp;&lt;A href="https://codepen.io/garysheppardjr/pen/dyLoXmZ" target="_blank"&gt;https://codepen.io/garysheppardjr/pen/dyLoXmZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I suppose I can work around this by only calling &lt;FONT face="courier new,courier"&gt;queryLatestObservations&lt;/FONT&gt; when the layer is visible. That seems easy. But it's unfortunate that we have to do that with 4.29 when we didn't have to do that with 4.28.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 16:25:59 GMT</pubDate>
    <dc:creator>GaryLSheppardJr</dc:creator>
    <dc:date>2024-03-04T16:25:59Z</dc:date>
    <item>
      <title>4.29 New Error: No query engine defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1389781#M83822</link>
      <description>&lt;P&gt;I recently updated my Angular 16 web application from ArcGIS JavaScript Maps SDK 4.28 to 4.29. With that update, I now get a new console error when starting my web app:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Error: Uncaught (in promise): [no-queryEngine]: No query engine defined&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I searched the node_modules/@arcgis/core directory and found this "No query engine defined" message in 4.29. I did not find it in 4.28.&lt;/P&gt;&lt;P&gt;Everything seems to work fine. As far as I know, it's just a console error. But it's concerning. Can anyone explain or suggest a remedy?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 23:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1389781#M83822</guid>
      <dc:creator>GaryLSheppardJr</dc:creator>
      <dc:date>2024-03-01T23:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 New Error: No query engine defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1389786#M83823</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/468738"&gt;@GaryLSheppardJr&lt;/a&gt; can you repro in a codepen outside of Angular? On surface this doesn't look like an Angular issue. If not, can you provide a personal github repo or StackBlitz using this sample as your base template=&amp;gt; &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli&lt;/A&gt; ?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 23:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1389786#M83823</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-03-01T23:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 New Error: No query engine defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1390476#M83844</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;. I looked at the stack trace and found which part of our app generates this error. We add a &lt;FONT face="courier new,courier"&gt;StreamLayer&lt;/FONT&gt; to the map, and then we call &lt;FONT face="courier new,courier"&gt;queryLatestObservations&lt;/FONT&gt; on its &lt;FONT face="courier new,courier"&gt;LayerView&lt;/FONT&gt;. If the stream layer is visible, I get features and no errors. If the stream layer is not visible but I use 4.28, I get zero features and no errors. The problem is when the stream layer is not visible and I use 4.29. Then I get the "No query engine defined" error.&lt;/P&gt;&lt;P&gt;Here's a pen that demonstrates the behavior:&amp;nbsp;&lt;A href="https://codepen.io/garysheppardjr/pen/dyLoXmZ" target="_blank"&gt;https://codepen.io/garysheppardjr/pen/dyLoXmZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I suppose I can work around this by only calling &lt;FONT face="courier new,courier"&gt;queryLatestObservations&lt;/FONT&gt; when the layer is visible. That seems easy. But it's unfortunate that we have to do that with 4.29 when we didn't have to do that with 4.28.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 16:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1390476#M83844</guid>
      <dc:creator>GaryLSheppardJr</dc:creator>
      <dc:date>2024-03-04T16:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 New Error: No query engine defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1390877#M83852</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reporting this issue! We addressed the issue and the fix will be available on production sometime tomorrow.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 02:46:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1390877#M83852</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2024-03-05T02:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 New Error: No query engine defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1391377#M83861</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;! I can confirm that updating to 4.29.5, which was released today, fixes the problem in my Angular app. I don't see it fixed in the pen I linked above, but I don't care about that. Many thanks for the quick fix!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 19:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-new-error-no-query-engine-defined/m-p/1391377#M83861</guid>
      <dc:creator>GaryLSheppardJr</dc:creator>
      <dc:date>2024-03-05T19:11:33Z</dc:date>
    </item>
  </channel>
</rss>

