<?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: Search Widget console errors showing up in version 4.20 of JS API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1098571#M74680</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;We found the solution today. On our custom MVC pass-throughs, I added default JSON returns for featurelayer REST queries, instead of returning blank when 0 results were found.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 17:24:51 GMT</pubDate>
    <dc:creator>GILBERTNG1</dc:creator>
    <dc:date>2021-09-15T17:24:51Z</dc:date>
    <item>
      <title>Search Widget console errors showing up in version 4.20 of JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1097835#M74658</link>
      <description>&lt;P&gt;We are currently utilizing the JS API Search widget in an application for a variety of navigations. Some of them are locators, and some of them are feature layers. We also have been using MVC pass-throughs for a few feature layers, in order to add some additional logic, such as making street intersection searches more intuitive. While upgrading from version 4.18 to 4.20 of the JS API, these errors started showing up during suggest queries, but do not cause issues outside of the Chrome console. This was not an issue with version 4.18, which we currently are using in production.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Logger.js:7 [esri.widgets.Search.SearchViewModel] TypeError: Cannot read properties of undefined (reading 'featureResult')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at Object.e.parsePBFFeatureQuery (pbfQueryUtils.js:4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at Object.&amp;lt;anonymous&amp;gt; (query.js:8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at Generator.next (&amp;lt;anonymous&amp;gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at x (_rollupPluginBabelHelpers.js:7)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at e (_rollupPluginBabelHelpers.js:11)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Are there any workarounds to eliminate such errors?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 23:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1097835#M74658</guid>
      <dc:creator>GILBERTNG1</dc:creator>
      <dc:date>2021-09-13T23:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget console errors showing up in version 4.20 of JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1098030#M74663</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351143"&gt;@GILBERTNG1&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. It's difficult to say what the issue is, or what a workaround could be, just based on that error message. Would you be able to share a link to a simple, reproducible test-app (or just share the code) that shows this console error?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 13:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1098030#M74663</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-09-14T13:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget console errors showing up in version 4.20 of JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1098571#M74680</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;We found the solution today. On our custom MVC pass-throughs, I added default JSON returns for featurelayer REST queries, instead of returning blank when 0 results were found.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 17:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-console-errors-showing-up-in-version/m-p/1098571#M74680</guid>
      <dc:creator>GILBERTNG1</dc:creator>
      <dc:date>2021-09-15T17:24:51Z</dc:date>
    </item>
  </channel>
</rss>

