<?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 Query results not returned in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627455#M58559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an odd situation where query results are not returned consistently in IE. The app works fine in Firefox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I enter a string in an html "input" and do a query for that attribute value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In IE I have to press return 3 or 4 times before the results are returned to a grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some times there is no error but nothing is retuned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes I get the geometry but the grid is not filled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes I get an object error - the message is #error 1, description is empty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ON the last attempt the query returns correctly and the grid is filled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can supply code but I thought it might be useful to get some higher level comments as to what may be happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the query and task variables are in the main js page, the query code is in a separate js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, this all works fine in Firefox,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions gratefully received,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2012 01:13:43 GMT</pubDate>
    <dc:creator>IanHamilton</dc:creator>
    <dc:date>2012-11-30T01:13:43Z</dc:date>
    <item>
      <title>Query results not returned</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627455#M58559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an odd situation where query results are not returned consistently in IE. The app works fine in Firefox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I enter a string in an html "input" and do a query for that attribute value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In IE I have to press return 3 or 4 times before the results are returned to a grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some times there is no error but nothing is retuned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes I get the geometry but the grid is not filled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes I get an object error - the message is #error 1, description is empty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ON the last attempt the query returns correctly and the grid is filled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can supply code but I thought it might be useful to get some higher level comments as to what may be happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the query and task variables are in the main js page, the query code is in a separate js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, this all works fine in Firefox,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions gratefully received,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 01:13:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627455#M58559</guid>
      <dc:creator>IanHamilton</dc:creator>
      <dc:date>2012-11-30T01:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query results not returned</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627456#M58560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry a couple of updates, the error code is 400 , unable to complete operation - when it gives an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just noticed another thread&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/70729-QueryTask-Error-Code-400-Message-Unable-to-complete-operation-Random"&gt;http://forums.arcgis.com/threads/70729-QueryTask-Error-Code-400-Message-Unable-to-complete-operation-Random&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which gives similar results. I have just upgraded to Serer 10.1 Sp1. I don't think I was getting an error before the upv=grade but I can't be certain I tested on IE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this an introduced bug in SP1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fro the above thread, a proposed solution is to use a POST.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I do this for the Query operation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 01:36:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627456#M58560</guid>
      <dc:creator>IanHamilton</dc:creator>
      <dc:date>2012-11-30T01:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query results not returned</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627457#M58561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am able to workaround this bug by calling 2 queries one after the other, the second being the real one! This works consistently in IE and Firefox.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 03:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-results-not-returned/m-p/627457#M58561</guid>
      <dc:creator>IanHamilton</dc:creator>
      <dc:date>2012-11-30T03:05:01Z</dc:date>
    </item>
  </channel>
</rss>

